summaryrefslogblamecommitdiffstats
path: root/fiz/naloga/suženjstvo/transformiraj.sh
blob: d0c9aeab1072578b7fbbb7595935a45779da9395 (plain) (tree)
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