The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Replace in VI
.
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 in VI
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
11-26-2008
preethgideon
Registered User
Join Date: Jun 2006
Posts: 71
Replace in VI
Hi All,
How to add a '*' at the begining of
VI
file between lines in a range say 20 -30??
Please help.
I tried :%s/20,30/^/\*/
Did not work.
Thanks and Regards,
Gideon.
preethgideon
View Public Profile
Find all posts by preethgideon
Find preethgideon's past nominations received
Find preethgideon's present nominations given