RE: Unix Script Question

RE: Unix Script Question

 

  

Try:

sed 's/Basketball/Baseball/g' File1 > File2

Thanks,
Dan Humiston
Paulo Products Company

-----Original Message-----
From: Burris Mark
[mailto:oracledba-ezmlmshield-x23149705.[Email address protected]
Sent: Monday, July 02, 2007 15:01
To: LazyDBA Discussion
Subject: Unix Script Question

I want to do a global change of 'Basketball' to 'Baseball' in a file
called 'File1' in a UNIX script. I know how to do it with the VI editor
but not within a UNIX script. Can someone tell me how to accomplish it?



---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



Oracle LazyDBA home page