in reply to Re: Search and replace within a file
in thread Search and replace within a file
Just been reading up on this and it looks very useful, but I’m not sure if this is what I want. Sorry if I haven’t been very clear.
Where I have s/$uname/$answer/g; it’s the $uname part which is not changing within the hosts file
However it does change it after the FQN name part within the hosts file
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Search and replace within a file
by Anonymous Monk on May 08, 2012 at 11:32 UTC | |
by muizelaar (Sexton) on May 08, 2012 at 13:19 UTC |