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 -->
#
3
(
permalink
)
05-22-2007
aigles
Registered User
Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,212
If
perl
is available on your system, you can do something like that :
Code:
perl
-p -i -e '/SIZE/ and s/[0-0]*/00/' instal.data
Jean-Pierre.
aigles
View Public Profile
Find all posts by aigles