![]() |
|
|
|
|
|||||||
| 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 |
| In Help, Substitute Text ... | solidhelix08 | Shell Programming and Scripting | 6 | 02-07-2008 01:21 AM |
| Substitute Variable | mmg2711 | UNIX for Dummies Questions & Answers | 0 | 10-26-2007 03:59 AM |
| Substitute File name | vanand420 | Shell Programming and Scripting | 22 | 03-13-2007 10:40 PM |
| Substitute in vi | kingdbag | UNIX for Dummies Questions & Answers | 5 | 01-17-2007 10:42 AM |
| sed substitute situation | newbreed1 | UNIX for Dummies Questions & Answers | 16 | 06-03-2005 11:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Using SED to substitute between two patterns.
Hi All,
I'm currently using SED to make various changes to some .xml files I'm working on, but I'm stuck on this particular problem. I want to remove '<placeholder>element-name</placeholder>' from the following: <heading>Element <placeholder>element-name</placeholder> not recognized</heading> This type of pattern is repeated in several of my files so essentially I'm looking to remove the placeholder tags and whatever is enclosed. Any help greatly appreciated. |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|