View Single Post

  #3 (permalink)  
Old 04-01-2006, 11:55 PM
sparky sparky is offline
Member
User
 
Join Date: Mar 2006
Posts: 35
Rep Power: 0
sparky
Default

tried that but i get
-bash: replace: command not found
I checked out you link and the peal looked good so i tried that and it works same as sed
The problem i am having it that i dont no the password with out opening the text file
ie.. somewhere in the text file is the line password"foo"
so i need to replace password "*" with password "newpass"
but the wild card does not seem to work it keeps old pass and adds new one as well.
password "foo""newpass"

thanks for any help
Reply With Quote