The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Removing Blank Lines
.
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
:
Removing Blank Lines
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-08-2008
yongitz
Registered User
Join Date: Apr 2008
Location: Philippines
Posts: 68
or in grep...
Quote:
grep -v '^$' origfile > newfile
I just don't know the performance if tested against a very large file..
yongitz
View Public Profile
Find all posts by yongitz
Find yongitz's past nominations received
Find yongitz's present nominations given