![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to substitute? | vanitham | Shell Programming and Scripting | 2 | 12-15-2008 12:12 AM |
| Using SED to substitute between two patterns. | Steve_altius | Shell Programming and Scripting | 2 | 06-10-2008 12:03 PM |
| Double quotes or single quotes when using ssh? | password636 | Shell Programming and Scripting | 3 | 05-29-2008 08:52 PM |
| In Help, Substitute Text ... | solidhelix08 | Shell Programming and Scripting | 6 | 02-07-2008 05:21 AM |
| Substitute in vi | kingdbag | UNIX for Dummies Questions & Answers | 5 | 01-17-2007 02:42 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Using sed to substitute between quotes.
I'm using sed to perform a simply search and replace. The typical data is:
Code:
<fig><image href="Graphics/BAV.gif" align="left" placement="break" Code:
<fig><image href="NEW_VALUE" align="left" placement="break" Code:
sed -e 's/image href=\".*\"/\""$NEW_VALUE"\"/' Code:
<fig><"NEW_VALUE" Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|