Results 1 to 2 of 2
Hello everyone,I want to know that is there any method to grep a particular data from a file without using the "cat --- | grep ' ' " command....I need ...
- 05-03-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 4
Grep!!
Hello everyone,I want to know that is there any method to grep a particular data from a file without using the "cat --- | grep ' ' " command....I need to use a system call for this functionality.
- 05-04-2010 #2Just Joined!
- Join Date
- May 2010
- Posts
- 6
Hi salmanansari,
You can do a simple filter of lines containing one or more strings (patterns) over a file using grep in this way.
Grep have many search options, depending what we´re looking for.Code:grep pattern inputfile > output
I´m not sure is what your need.
Hope it helps,


Reply With Quote