in reply to Re^4: Editing just one column in a file
in thread Editing just one column in a file
You should've used @ again:
$ echo "Just another perl monker" | perl -w -lane 'print @F[1..3]' anotherperlmonker $ echo "Just another perl monker" | perl -wanE'say@F[1..3]' anotherperlmonker $ echo "Just another perl monker" | perl -w -lane 'print @F[3..3]' monker $ echo "Just another perl monker" | perl -wanE'say@F[3..3]' monker $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Editing just one column in a file
by vinian (Beadle) on Dec 02, 2011 at 07:40 UTC |