-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Peng Yu on 12/30/2009 7:51 PM: >> Then that is probably a feature request that has not yet been implemented. >> Would you like to try your hand at coding it? > > Do you mean that I modify the source code of coreutils? I'd like to > take a look at it. Would you please let me know which files might be > relevant?
Sure - you'll need to coordinate between src/dircolors.c to output a new key/value pair in LS_COLORS, then in src/ls.c to recognize that value as a new coloring scheme for symlinks. There are also several existing tests in tests/ls/* that can be used as starting points for developing a test for your new feature. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks8EzsACgkQ84KuGfSFAYCYAwCggy37p6MHIWADVpfDNDgWg8nJ MysAoNXwZ/1sYf/Eyd8MI5NlYgBdCKui =SUfH -----END PGP SIGNATURE-----
