
True. Just grep would do the same thing without the cat! I am beginning to think grep is another feline:-) On 13 June 2013 14:08, Tony Likhanga <tlikhanga@gmail.com> wrote:
*2013/6/13 Simon Mburu <sgatonye@gmail.com> *
*A simple cat and grep, should do it.* *Something in the lines of* * * * * *cat file1 | egrep ^2008\(06\|07\|08\|09) > file2*
Without being picky.... isn't this some form of 'cat abuse'? I think the cat command is superfluous; unless there's some not-so-obvious advantage it adds to that syntax.
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."