Search Results

Search: Posts Made By: saroopkris85
11,673
Posted By saroopkris85
gsub with the awk?
gsub with the awk?
11,673
Posted By saroopkris85
Awesome! I have been spending last one day trying...
Awesome! I have been spending last one day trying to fix it via awk....You are the best! Thanks Buddy!
11,673
Posted By saroopkris85
I get the below error /home/sperinc>sed...
I get the below error

/home/sperinc>sed 's/[<]password[>].*[<]\/password[>]/' TextXML.txt_new > outputfile
sed: 0602-404 Function s/[<]password[>].*[<]\/password[>]/ cannot be parsed.
11,673
Posted By saroopkris85
How to replace value of password tag in xml with blanks when special characters are there?
Hi All,

I am trying to replace the values inside <password> tag in an xml file but it doesn't replace certain passwords:

For eg:
Server/home/sperinc>cat TextXML.txt
<appIds>
<entry...
Showing results 1 to 4 of 4

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