bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dircolors database documentation


From: Paul Eggert
Subject: Re: dircolors database documentation
Date: Thu, 20 Oct 2005 01:37:48 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> How about adopting the C rule of parsing and use at most 3 digits in octal
> escapes?

Makes sense.  C says that octal escapes may be at most 3 digits, and
"\400" is an error (assuming 8-bit chars).

C also says that hex escapes are of unlimited length.  That's a bit
strange, but I guess ls might as well be consistent.  Like octal
escapes, if the value is out of range it is an error (e.g., "\x100",
again assuming 8-bit chars).  "\x0000000000000000001" is valid and is
the same as "\1".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]