![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix grep/test command | netmaster | UNIX for Dummies Questions & Answers | 1 | 10-09-2007 02:29 AM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-04-2007 11:59 PM |
| grep command | naamas03 | UNIX for Dummies Questions & Answers | 3 | 09-17-2007 12:14 AM |
| grep command | pmsuper | UNIX for Dummies Questions & Answers | 6 | 11-22-2006 03:12 AM |
| grep command | whatisthis | UNIX for Dummies Questions & Answers | 3 | 09-02-2004 08:01 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
unix grep command
I need to seach all strings that matches "if [ 1 -eq 2 ]; then" in all files
If i put grep "if [ 1 -eq 2 ]; then" *.* it is not giving any result |
| Forum Sponsor | ||
|
|
|
|||
|
can you see if your version of grep have the -F switch? if yes, then you could use it for your case
Quote:
|
|||
| Google The UNIX and Linux Forums |