The variable entry is saved as a filename and the keyword hit is in this file, but then I get for every hit a file and I want just one hits.txt file with the keyword and the entrySo when grep finds a hit it should write the hit and the varaible $entry to the file hits.txt

I use the tee command so that I can sent the cat result to both grep ascii and grep unicode.

regards

Last edited by computer4n6 on Tue Mar 23, 2010 8:43 am, edited 1 time in total.

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum