1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash rm ../relacije/*.tsv for i in 2A*.tsv do t=`rev <<<$i | cut -d. -f2- | rev` echo $t ./pari.php $t >> ../relacije/2A.tsv done for i in 3A*.tsv do t=`rev <<<$i | cut -d. -f2- | rev` echo $t ./pari.php $t >> ../relacije/3A.tsv done