Is it true that there is no stat(1) flag to just print the link name? All one can find is %N - Quoted file name with dereference if symbolic link $ stat -c %N s1mp3.backup `s1mp3.backup' -> `/mnt/extra10/s1mp3' meaning the user must be dragged over the coals to do $ stat -c %N s1mp3.backup |perl -F\'\|\` -anwle '{print $F[3]}' /mnt/extra10/s1mp3 or $ perl -wle 'print readlink($ARGV[0])' s1mp3.backup /mnt/extra10/s1mp3 (P.S., I'm not talking about -L, --dereference.)
_______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils