[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dircolors database documentation
From: |
Eric Blake |
Subject: |
Re: dircolors database documentation |
Date: |
Sat, 22 Oct 2005 10:11:07 -0600 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 10/18/2005 6:36 AM:
>
> Meanwhile, there are a few bugs I found. I can provide a patch, but need
> some agreement on semantics first.
One more to get consensus on. Right now,
$ echo $TERM
xterm
$ dircolors - >/dev/null
invalid line
term not_my_type
invalid line
$ echo $?
0
$ dircolors - >/dev/null
term xterm
invalid line
dircolors: `-':2: unrecognized keyword invalid
$ echo $?
1
It seems fishy that global lines do not cause errors, but terminal
specific ones do. Consistency would argue that we might want to also
check lines not belonging to the current terminal for validity, although
that requires a bigger change to dircolors.c to parse every line
regardless of whether it will affect output. Is that the direction I
should go?
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDWmSb84KuGfSFAYARAnW7AKDY5c75uXNhy+5Xi+sZS3SrhmNydACgiIIa
2YgRSMdui4sQ9msIY2jp/5o=
=sQ8Q
-----END PGP SIGNATURE-----
- dircolors database documentation, Eric Blake, 2005/10/17
- Re: dircolors database documentation, Jim Meyering, 2005/10/17
- Re: dircolors database documentation, Eric Blake, 2005/10/18
- Re: dircolors database documentation, Eric Blake, 2005/10/18
- Re: dircolors database documentation, Eric Blake, 2005/10/18
- Re: dircolors database documentation, Paul Eggert, 2005/10/18
- Re: dircolors database documentation, Jim Meyering, 2005/10/18
- Re: dircolors database documentation, Jim Meyering, 2005/10/19
- Re: dircolors database documentation,
Eric Blake <=
- Re: dircolors database documentation, Paul Eggert, 2005/10/23