|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Hi,
Can anyone tell me how to combine two conditions on sed command.. I mean, I want to make some changes on all the lines starting with "GRAM" but not on the lines starting with "GRAMMAR" in a file. please help me.. thank you so much msima |
|
#2
|
|||
|
|||
|
the regexp: /GRAM/ matches GRAM and GRAMMAR everywhere in the line
the regexp: /^GRAM/ matches GRAM and GRAMMAR at line begin the regexp: /^GRAM\>/ matches GRAM at line begin the regexp: /\<GRAM\>/ matches GRAM everywhere in the line |
|
#3
|
|||
|
|||
|
Hi guggach,
Thank you very much for your reply..I was really in need of that. Thanks best regards, msima |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > sed help please !!!!!!!!!!!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|