1 2 3 4 5 6 7 8
#!/bin/bash gcc lokacije.c -lm for i in *.tsv do t=`rev <<<$i | cut -d. -f2- | rev` echo $t ./a.out ../videi/$t.txt `grep "$t " ../videi/podatki.tsv` < $t.tsv > ../transformirane/$t.tsv # pazi, da je prazen prostor res tabulator done