in reply to perl to run awk and sed
s2p outputs more cruft, but the important bit is just 's/.$//', which can be inserted into the above script.$, = ' '; # set output field separator $\ = "\n"; # set output record separator $FS = "\t"; ; while (<>) { chomp; # strip record separator ($Fld1) = split($FS, $_, -1); print $Fld1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl to run awk and sed
by kcott (Archbishop) on Dec 01, 2015 at 03:33 UTC |