Search Results

Search: Posts Made By: jowpup
18,576
Posted By jowpup
Nevermind
I figured it out. I was thinking I had to open it in vi and then do the search and replace in there - but I figured out what sed was and just put that in the script.
sed "/s/oldtext/newtext/g"...
18,576
Posted By jowpup
Editing a file in a shell script
Using Solaris 8.
I need to create a shell script that will edit a text file.
I need to look in the text file and do a search and replace. For instance, the text file name is always 'filename'. I...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy