The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Checking the Empty line in csv file
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
:
Checking the Empty line in csv file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-15-2008
aju_kup
Registered User
Join Date: Jul 2006
Posts: 189
just to ignore empty lines
Code:
grep -v "^$" <filename>
aju_kup
View Public Profile
Find all posts by aju_kup