The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
making the changes permanent in a file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
making the changes permanent in a file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-22-2007
lazytech
Registered User
Join Date: Nov 2006
Posts: 39
My suggestion would be to have your
sed
command in a script and have it output to a temp file and then have the mv command write the temp file over the original file.
lazytech
View Public Profile
Find all posts by lazytech