On 6/13/07, Dhruv Rangoonwala <[EMAIL PROTECTED]> wrote:
I have tried to use the following command:
cat -b <anyFileName>
If the file have blank lines, this command does not eliminate it. It still
gives number to that blank line. Please check it.
Arguably this is a documentation deficiency. When used with -b, the
cat program numbers non-empty lines, as opposed to non-blank lines.
Lines containing only blanks are not empty and so are numbered:-
$ yes "" | head | cat -b
$ yes " " | head | cat -b
1
2
3
4
5
6
7
8
9
10
$
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils