diff cmsearch.xml @ 1:55bb96edfc07 draft

Uploaded
author bgruening
date Thu, 24 Apr 2014 15:02:05 -0400
parents 652f9d550531
children fac157e22e1b
line wrap: on
line diff
--- a/cmsearch.xml	Tue Apr 22 13:56:22 2014 -0400
+++ b/cmsearch.xml	Thu Apr 24 15:02:05 2014 -0400
@@ -57,7 +57,7 @@
 
             ## 1. replace all lines starting # (comment lines)
             ## 2. replace the first 18 spaces with tabs, 18th field is a free text field (can contain spaces)
-            sed -e 's/#.*$//' -e '/^$/d' -e 's/ /\t/g' -e 's/\t/ /18g' \$temp_tabular_output > $outfile
+            sed -e 's/#.*$//' -e '/^$/d' -e 's/\s\+/\t/g' -e 's/\t/ /18g' \$temp_tabular_output > $outfile
 
     </command>
         <inputs>