The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Replace Characters...
.
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
:
Replace Characters...
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
10-26-2006
venu_nbk
Registered User
Join Date: Jul 2006
Posts: 33
Quote:
Originally Posted by
vgersh99
'
sed
' is your friend -
sed1liners
Code:
sed
's/^.\{54\}/mv/' myFile.txt
vgersh99
I have a doubt in this. If i am inside the file that is
vi
myFile.txt.
Then how can I use the command, should I use the
sed
word?
venu_nbk
View Public Profile
Find all posts by venu_nbk
Find venu_nbk's past nominations received
Find venu_nbk's present nominations given