Results 1 to 5 of 5
Hi,
I want to search a string from the output file that have given by egrep command-:
I want to search a text "order" from the file of following command-:
...
- 06-20-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
Help In egrep command
Hi,
I want to search a string from the output file that have given by egrep command-:
I want to search a text "order" from the file of following command-:
egrep -wli 'DEST = INDIA|DEST = US|DEST = AUS' *.sql
Please help
BR
- 06-20-2011 #2Just Joined!
- Join Date
- Apr 2011
- Posts
- 6
This command will show you the file name only in which this pattern exit.
if you have to print the text use -wi instead of -wli.
-l gives the file name.
I think it will work for you.
- 06-20-2011 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
Need result from file by egrep command
- 06-20-2011 #4Just Joined!
- Join Date
- Apr 2011
- Posts
- 6
than use follwoing
egrep split `egrep -liw "DEST = INDIA|DEST = US|DEST = AUS" *.sql`
- 06-20-2011 #5Just Joined!
- Join Date
- Jun 2011
- Posts
- 3


Reply With Quote
