changeset 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
files spolpred.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/spolpred.sh	Tue Dec 15 14:19:42 2015 -0500
+++ b/spolpred.sh	Fri Dec 18 11:18:28 2015 -0500
@@ -5,6 +5,6 @@
 
 spolpred $@
 
-sed -i s/^.*\t/$name/ output.txt
+sed -i "s/^[^\t]*/$name/" output.txt
 
 exit 0