On Thu, 07 Dec 2006 22:06, Don Gould wrote: > Chris, Slosh and others... > > Yes, you're right. Python might be my friend right now. > > I'm just testing something, report back soon. > > Cheers Don
Here is how I would do it; echo '<span id="lblValuationNumber">22115 36400 B</span></td>' | cut -d '<' -f 2 | cut -d '>' -f 1 Note, the command is one line. I have split it to escape the line wrap gremlins. I am sure some one will point out that there are better ways to do this in gawk perl python etc... Cheers Ross Drummond
