annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
1 #/bin/bash
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
2
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
3 name=$1
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
4 shift
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
5
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
6 spolpred $@
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
7
1
d2d1d48c8e3e fix_bug with names that contain spaces
nml
parents: 0
diff changeset
8 sed -i "s/^[^\t]*/$name/" output.txt
0
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
9
5402893569cb planemo upload commit 870da8582a7bc43817b1de0720397ae60a8efef6-dirty
nml
parents:
diff changeset
10 exit 0