in reply to using command line autosplit option

Another way, with fewer characters, using perl 5.10 (-E and say), -l and array slices:
perl -lanE'say join"\t",@F[0..2]' file.txt

Replies are listed 'Best First'.
Re^2: using command line autosplit option
by umasuresh (Hermit) on Feb 03, 2011 at 20:01 UTC
    Thanks much Toolic and Fletch!