Brian Teaman
June 14th, 2007, 12:26 AM
I found that selete will delete every 3rd line with the following command.
sed '1~3d' file
However, my freeBSD (on Mac OS X) chokes on the '~' Anybody know what the freeBSD eqivalent would be?
Thanks in advance,
Brian
sed '1~3d' file
However, my freeBSD (on Mac OS X) chokes on the '~' Anybody know what the freeBSD eqivalent would be?
Thanks in advance,
Brian