The UNIX and Linux Forums
>
Special Forums
>
UNIX and Linux Applications
vi or vim replace ,$ (eol) with just a comma
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
vi or vim replace ,$ (eol) with just a comma
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
11-14-2007
prowla
Read Only
Join Date: Nov 2007
Posts: 165
If you want to collapse every three lines into one, you could try:
cat myfile | paste - - -
prowla
View Public Profile
Find all posts by prowla