blob: eff7ce6801407502863ab2bfaf66707d1976b8e0 (
plain) (
tree)
|
|
#!/bin/bash
while read line
do
t=`cut -f6 <<<$line`
t2=`cut -f7 <<<$line`
d=`cut -f1 <<<$line`
[ x$d = xd ] && echo $line tn t2n || echo $line `dc -e "10k$d 12.9273*v$t-p"` `dc -e "10k$d 13.3468*$t2-p"`
done < podatki.tsv > vsi.tsv
|