in reply to perl to run awk and sed

One way might be something like this:
my $cmd = q(awk 'BEGIN {FS="\t"}; {print $1}' | sed 's/.$//'); system $cmd;
Single quotes prevent variable interpolation: see perlop

Replies are listed 'Best First'.
Re^2: perl to run awk and sed
by deelinux (Novice) on Nov 30, 2015 at 17:33 UTC

    thanks, sorted now