perl -ne 'print if (++$x)%2' file1 > file2 [download]
------------ :Wq Not an editor command: Wq [download]
In reply to Re: How to Print Every Other Line by etcshadow in thread How to Print Every Other Line by Neuroactive