[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inaccurate/incorrect description of the -b option in man ls(1)
From: |
jacky . fong |
Subject: |
Inaccurate/incorrect description of the -b option in man ls(1) |
Date: |
Wed, 17 Mar 2010 19:12:37 -0400 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
Bug Report:
-----------
In the manpage for ls(1), the description of the -b option says,
"print octal escapes for nongraphic characters"; this description is
inconsistent with its actual function. An update to either the
description or behaviour of the -b option is required.
e.g.
$ touch $'a\nb'; ls -b $'a\nb'
a\nb
In accordance with the description of the -b option, the output should
instead be:
a\012b
Side Note:
----------
- HP-UX's ls(1) indeed prints octal escapes with -b option specified.
- After checking with the (latest) IEEE 1003.1-2008 standard (POSIX),
the -b option is not specified for ls(1).
Feedback request:
-----------------
This is my first (ever) bug report, which makes me a newbie; I'd like
any feedback on what a proper bug report format should be (if any).
cheers,
Jacky
- Inaccurate/incorrect description of the -b option in man ls(1),
jacky . fong <=