perl -000ne 'print"$.. @{[(split)[1,3]]}\n"' data.txt
In reply to Re: Simple perl one-liner for transforming text files
by zengargoyle
in thread Simple perl one-liner for transforming text files
by m5m5m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |