But it prints the whole line along with the first 3 columns.perl -pane 'print "$F[0]\t$F[1]\t$F[2]";' file1.txt
How do I fix this? Thanks much!prints: chr1 58963 Gchr1 58963 G G 10 0 10 + 1 ^+. 8 __file1__ chr1 58963 G G 10 0 10 1 ^+. + 8
In reply to using command line autosplit option by umasuresh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |