comparison spolpred.sh @ 1:d2d1d48c8e3e draft default tip

fix_bug with names that contain spaces
author nml
date Fri, 18 Dec 2015 11:18:28 -0500
parents 5402893569cb
children
comparison
equal deleted inserted replaced
0:5402893569cb 1:d2d1d48c8e3e
3 name=$1 3 name=$1
4 shift 4 shift
5 5
6 spolpred $@ 6 spolpred $@
7 7
8 sed -i s/^.*\t/$name/ output.txt 8 sed -i "s/^[^\t]*/$name/" output.txt
9 9
10 exit 0 10 exit 0