changeset 1:0ba6d09a71d6 draft

Uploaded
author bgruening
date Wed, 18 Dec 2013 10:57:09 -0500
parents ad6a989924ac
children 90b52d8d6f2c
files split_file_on_column.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/split_file_on_column.xml	Tue Dec 17 15:24:50 2013 -0500
+++ b/split_file_on_column.xml	Wed Dec 18 10:57:09 2013 -0500
@@ -4,7 +4,7 @@
         <requirement type="package" version="4.1.0">gnu_awk</requirement>
     </requirements>
     <command>
-        awk '{print > "primary_${outfile.id}_" \$$column "_visible_${infile.ext}" }' $infile;
+        awk -F'\t' '{print > "primary_${outfile.id}_" \$$column "_visible_${infile.ext}" }' $infile;
         echo 'Created' `ls -l | wc -l` 'files:' > $outfile;
         ls -1 --hide="*_stdout" --hide="*_stderr" >> $outfile;
     </command>