Search Results

Search: Posts Made By: Steve_altius
21,802
Posted By Steve_altius
Many thanks to you both. Both solutions work for...
Many thanks to you both. Both solutions work for me.

Cheers.
21,802
Posted By Steve_altius
Using sed to substitute between quotes.
I'm using sed to perform a simply search and replace. The typical data is:

<fig><image href="Graphics/BAV.gif" align="left" placement="break"

I need to replace the value in the first set of...
8,527
Posted By Steve_altius
Thanks guys. Both solutions work. I appreciate...
Thanks guys. Both solutions work. I appreciate your efforts!
8,527
Posted By Steve_altius
Extracting tag values from XML using perl
Hi All,

I'm trying to extract the values for the 'src' and 'alt' tags within an xml file. In the files that I'm searching, the tags are always enclosed within an 'img' tag. Typically:

<img...
2,047
Posted By Steve_altius
A beautifully elegant solution that, more...
A beautifully elegant solution that, more importantly, works :)

Many thanks Yogesh.
2,047
Posted By Steve_altius
Selecting patterns from the results of grep
Hi All,

I'm struggling with a problem that I'm wondering (and hoping!) that someone can help me with.

I have a number of .xml files which I'm using grep to search for the string 'include'. I...
7,198
Posted By Steve_altius
Fantastic. That works a treat. I've not thought...
Fantastic. That works a treat. I've not thought about using Perl before. Perhaps it's time I took a look at it!

Thanks for your help.
7,198
Posted By Steve_altius
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>'...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 07:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy