In my machine cat -s do nothing. The output is same as simply cat.
Te second one is doing fine in linux machine but not in HP-UX (When the no of characters in the line is more, say 1000 ).
Quote:
Originally Posted by ripat
If you have that option with cat:
Code:
cat -s
With sed:
Code:
sed '/./,/^$/!d'
|