The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replacing string in files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Replacing string in files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
08-28-2007
mohan705
Registered User
Join Date: Feb 2007
Posts: 134
Replacing string in files
Hi,
I Have 10 files ,I need replace $INPUT_LOCATION with $INPUT_LOCATION_upd .using
sed
command do it single file .How can change all files in single shot instead of doing individual file
sed
-s'/old/new/g' file1
Thanks,
Mohan
mohan705
View Public Profile
Find all posts by mohan705
Find mohan705's past nominations received
Find mohan705's present nominations given