summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/transformirane/pari.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fiz/naloga/transformirane/pari.sh')
-rwxr-xr-xfiz/naloga/transformirane/pari.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/fiz/naloga/transformirane/pari.sh b/fiz/naloga/transformirane/pari.sh
new file mode 100755
index 0000000..de76bb2
--- /dev/null
+++ b/fiz/naloga/transformirane/pari.sh
@@ -0,0 +1,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