-----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             [EMAIL PROTECTED]
-----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-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to