The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
merging two lines in a file
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
:
merging two lines in a file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
07-11-2007
syndex
Registered User
Join Date: Jun 2007
Location: Pennsylvania
Posts: 40
Quote:
Originally Posted by
hemangjani
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
Could explain the awk line.
I'm so confused on awk and
sed
. Is there a good tutorial that explains what all that gibberish means?
syndex
View Public Profile
Find all posts by syndex