skip to main
|
skip to sidebar
Tips & Tricks
You can find useful Tips and Tricks on this Blog
Search for Tips & Tricks
Enter your search terms
Submit search form
Web
usefultipstricks.blogspot.com
Monday, May 23, 2011
How to join Two lines into one
If you want to join two lines into one from a file use the below command.
awk '{printf $0;printf " "}NR % 3 ==0 {print " "}' filename
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Blog Archive
▼
2011
(1)
▼
May
(1)
How to join Two lines into one
►
2008
(12)
►
February
(3)
►
January
(9)
Labels
Bash
(4)
Linux
(8)
Perl
(3)
Tips
(3)
Tricks
(4)
Be My Guest
FireFox The Best Browser
Hit Stats
No comments:
Post a Comment