
Wakello, cat <your_tar_file> |grep -a -A2 -B2 <search_string> Hope the tar bundle has no awkward gibberish. else.... On Fri, Jun 26, 2009 at 9:16 PM, nyarotho kennedy <kenyarotho@gmail.com>wrote:
Go to ua terminal window and use the 'cat' command as appropriate to your shell type. Hope this helps. 8-)
On 6/26/09, Walter Onyango <wakello@gmail.com> wrote:
Good evening,
I have several tar files each containing a number of text files in a debian box. is it possible to search for a specific string in the files and output that line plus two lines before and after that?
Kindly assist.
-- Wakello
-- People should know when they are conquered. _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general