On Sun, Jan 24, 2010 at 1:54 PM, Oleg Broytman <p...@phd.pp.ru> wrote:
..
>   Depends on the kind of cat and especially on the ways of using it. If
> you ask cat to number lines (see manual for GNU cat) - what do "lines" mean
> for binary IO?

Maybe this is yet another reason why some kinds of cat are a bad idea:

"""
cat isn't for printing files with line numbers, it isn't for
compressing multiple blank
lines, it's not for looking at non-printing ASCII characters, it's for
concatenating files.
"""

- Rob Pike, "UNIX Style, or cat -v Considered Harmful", USENIX Summer
Conference Proceedings, 1983.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to