The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-04-2008
jackn7 jackn7 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 3
Sed , Replace a "variable text" inside of a statement

Please Help... I am trying to manipulte the following line

Before :
<user:Account_Password>002786</user:Account_Password>

the password is the "variable", i need to delete / omit the password in the file, (it occurs several thousand times)
so the tag line looks like

After:
<user:Account_Password></user:Account_Password>

how can this be accomplished using sed commands.

I have been trying to resolve this for about 2 days, i am a novice to sed and now i am reaching out to the experts.