in reply to Succint Perl version of Awk
perl -lane '@F[0,1,2] = ("") x 3; print "@F"' perl -lane 'splice @F, 0, 3, ("") x 3; print "@F"'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Succint Perl version of Awk
by ikegami (Patriarch) on May 31, 2023 at 01:01 UTC | |
|
Re^2: Succint Perl version of Awk
by Galdor (Sexton) on May 30, 2023 at 10:14 UTC |