Hello <whoever seeing this mail>, i found a probably bug in ls -L (dereference) today, take a look:
-snip- [magma@keymerkur124 /tmp]$ cd /tmp ; touch source ; chmod 000 source ; ln -s source link [magma@keymerkur124 /tmp]$ ls -l link ; ls -l source ; ls -Ll link lrwxrwxrwx 1 magma freebits 6 Mai 22 21:11 link -> source ---------- 1 magma freebits 0 Mai 22 21:11 source ---------- 1 magma freebits 0 Mai 22 21:11 link -snap- Why doesn't ls -L print the dereferenced name of the file the link is pointing? Any reason? It would be great if it did it, because you can determine a file a link is pointing to without a extravagant... ls -l | sed 's,.* -> \(.*\),\1,' ...or something like that. FYI: -snip- [magma@keymerkur124 /tmp]$ ls --version ls (GNU fileutils) 4.0.36 -snap- -- cheers, Tobias http://freebits.org _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils