The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
vi command in shell script
.
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
:
vi command in shell script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
05-23-2006
bryan
Registered User
Join Date: Jan 2005
Posts: 22
vi command in shell script
I need to delete all the new lines in a file.
so, in
vi
, I would use
:1,$s/\n//g and then save the file.
How can I achieve this in command line? thanks
bryan
View Public Profile
Find all posts by bryan
Find bryan's past nominations received
Find bryan's present nominations given