The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Replace Characters...
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Replace Characters...
View Single Post in UNIX 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: 32
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