Search Results

Search: Posts Made By: venkatkk
19,344
Posted By venkatkk
Hi ..sorry didnt mention in my first post...
Hi

..sorry didnt mention in my first post that sed '/^$/d' didnt work...

...grep . filename selects everything dosent it..?

....grep -v '^[[:space:]]*$' worked perfectly..

thing is there...
19,344
Posted By venkatkk
unable to filter out blank lines ^$ matches nothing
Hi
I've got a file with a lot of blank lines in it or are they?...I tried to remove them by using

grep -v ^$ <filename>

This did not remove anything....I then tried the reverse to see if...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy