![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep this no. 0100025144 and combine | dodasajan | Shell Programming and Scripting | 3 | 02-05-2009 10:43 AM |
| How to combine case statements | karp3158 | UNIX for Dummies Questions & Answers | 2 | 12-01-2008 09:05 AM |
| if statements | pwanda | UNIX for Advanced & Expert Users | 4 | 11-02-2008 07:47 PM |
| sed, grep, cut or combine? | maskot | Shell Programming and Scripting | 4 | 01-10-2007 10:46 AM |
| sed or grep or perl combine two lines | artjaniger | UNIX for Dummies Questions & Answers | 3 | 06-27-2003 06:20 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
combine two grep statements
Hi I am wondering is it possible to combine two greps together I have two greps. Code:
grep "^[^,],[^,], *\." file (grep the line which has a '.' in the third column) Code:
grep "=" file (grep the line which has = anywhere) How to put them together so that if the content of the file that match either condition, it gets greped? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|