Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Search for words in a text file
Name: Mitesh Date: September 17, 2007 at 04:09:15 Pacific OS: Unix CPU/Ram: Intel, 512MB Product: Dell
Comment:
Hi, I am a unix newbie.
I am trying the following to search for a number of words in a text file (@unix command prompt), but the entire file contents are displayed. Can anyone tell me where I am making a mistake? Thanks Mitesh
for i in `cat /tmp/mylist` > do > grep i /etc/passwd > done
Summary: Hi, I am doing some records processing in a text file. I would like to know how can I read the lines repeatedly until the EOF character is reach? All help is appreciated. Tks! ...
Summary: I have a customer with SCO Unix and Windows . He has is a program that can create a large textfile. What he will use this program for is to create a text file that will contain a large amount of cu...