Search Results

Search: Posts Made By: saroopkris85
12,020
Posted By Corona688
sub in an awk statement, yes. gsub isn't...
sub in an awk statement, yes. gsub isn't necessary, I realized, just plain sub. So if you're doing 37 operations in awk already, you could just add one more for less performance hit than adding...
12,020
Posted By Corona688
You're very quick, I was still making sneaky...
You're very quick, I was still making sneaky edits. :o Try it now?
12,020
Posted By Corona688
If that's really what the XML looks like: ...
If that's really what the XML looks like:

sed 's/[<]password[>].*[<]\/password[>]/<password><\/password>/' inputfile > outputfile
Showing results 1 to 3 of 3

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