Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
pattern matching/replacing with sed
Name: MVal Date: January 11, 2005 at 13:41:09 Pacific OS: HPUX CPU/Ram: HP
Comment:
Hi,
I am trying to do the following simple operation with sed, but it wouldnt work because sed doesn't allow me to use variables in the replace string. Anyway to do it ?
Summary: Hi, I have a problem in my requirement. I have a file called 1000.log which is basically an xml for an internet order at our site. The xml will contain a tag as given below. <doc_no>545454545454545...
Summary: I'm typing to use Sed to search a file for a certain pattern, once it has found a row containing that pattern I want to move over a certain number of fields (delimited by commas) and then I want to re...