-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Peng Yu on 12/30/2009 8:34 PM: >> I wouldn't be on for adding more color combinations to handle >> cases like this. Perhaps a combination of "LINK target" with the >> -F option would suffice. That would use the color of the target >> while also distinguishing symlinks with an appended "@". > > I'm not sure if you understand me correctly. > > I tried -F. It will append all the symlinks with '@' no matter whether > they point to files or directories. I want to distinguish these two > cases somehow whether by color or by appended symbol. But -F can help > me distinguish the two case.
Use -F to distinguish between symlinks and other files via the appended @. Use "LINK target" to distinguish between symlinks to directories vs. symlinks to files via the color. So using both pieces together gives you a full picture of what a particular name represents, with no new code needed. - -- 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/ iEYEARECAAYFAks8IkgACgkQ84KuGfSFAYDjVgCgrEi5rkOV/a4KlEl25FwM/pmp 9VYAoJfi5iFzTjGVdbWeh7uBlliC3HmV =11QB -----END PGP SIGNATURE-----
