-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Chris Jones on 12/31/2009 8:31 AM:
> $ ls -alh -F --full-time --color=always
> 
> drwxr-xr-x  7 user user 4.0K 2009-12-31  [..]  -0500 ./
> drwxrwxrwt 27 root root  12K 2009-12-31  [..]  -0500 ../
> drwxr-xr-x  2 user user 4.0K 2009-12-31  [..]  -0500 d1/
> -rw-r--r--  1 user user    0 2009-12-31  [..]  -0500 f1
> lrwxrwxrwx  1 user user    3 2009-12-31  [..]  -0500 argetmld1: -> d1:

> coreutils     6.10-6                       The GNU core utilities

Wow, that's old.  The latest stable version is 8.2.  I'm not reproducing
your behavior, whether I tested with 7.0 or the latest git.  It looks like
ls is misinterpreting the 'ln=target' portion of LS_COLORS, and trying to
treat the last 5 characters as literal bytes to output for the color
sequence rather than treating the whole directive as a command to swap the
coloring rules over to following through the symlink.  I didn't see
anything in the NEWS that specifically mentions a change in that area, but
I may have overlooked something.

But rest assured that your filesystem was not altered - the spurious
'arget' in the listing comes from a bad attempt at outputting a color
code, not from a changed name.

- --
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/

iEYEARECAAYFAks9W4IACgkQ84KuGfSFAYDCWwCeIozSzll8BJkMul44RwNqvoU1
zr0AoJ5WOFNUyLyX6ToaRJjH6wVTSlDz
=zCQB
-----END PGP SIGNATURE-----


Reply via email to