Re: find/replace in place

2005-12-26 Thread sachidananda urs
use sed -i s/foo/bar/ filename. this will do the replacement in place, without any extra steps. regards, sac. On 12/20/05, Gregory Seidman <[EMAIL PROTECTED]> wrote: > On Mon, Dec 19, 2005 at 03:38:23PM -0500, Tony Heal wrote: > } I have a database name I want to replace inside of an xml file. I

Re: How to share env. variables ?

2005-10-29 Thread sachidananda urs
hi, put those contents(environment variables) in .bashrc. because .bashrc is the file that is read in for non-interactive terminals like kterm or gnome-terminal or any such application. sac. On 10/27/05, Marc Wilson <[EMAIL PROTECTED]> wrote: > On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo V