in reply to perl to run awk and sed
I've managed to answer it just after posting..., by adding a forward slash's before the variables the command use, so perl would not try and treat them as its variables..I think..., but it works, that said if any can point me to what perl guys would normally use they would use in place of awk/sed for me to do some reaserch on, that would be great
awk 'BEGIN {FS="\t"}; {print \$1}'| sed 's/.\$//'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl to run awk and sed
by kcott (Archbishop) on Dec 01, 2015 at 05:56 UTC |