The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
word count showing wrong number of lines
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
word count showing wrong number of lines
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
01-05-2004
Kelam_Magnus
Unix does a body good.
Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
I would try this to get rid of any blank lines.
grep -v ^$ file.in > file.out
Then use file.out for your testing.
__________________
My brain is your brain
Kelam_Magnus
View Public Profile
Find all posts by Kelam_Magnus