[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4745: ls: --dereference doesn't



Package: fileutils
Version: 3.13-4

Both 'ls --help' and the fileutils info file document options
        `-L'
        `--dereference'
             List the files linked to by symbolic links instead of listing the
             contents of the links.

However, neither of these appear to work:


Script started on Thu Oct 10 21:50:49 1996
> mkdir blub^M
> cd blub^M
> touch foo^M
> ln -s foo bar^M
> ls -l^M
total 0
lrwxrwxrwx   1 ray      users           3 Oct 10 21:51 bar -> foo
-rw-r--r--   1 ray      users           0 Oct 10 21:50 foo
> ls bar^M
bar
> ls -L bar^M
bar
> ls --dereference bar^M
bar
> ^^Hexit

Script done on Thu Oct 10 21:51:23 1996


>From the description, 'ls -L bar' aka 'ls --dereference bar' should yield
'foo', not 'bar'.

Ray
-- 
J.H.M. Dassen                 | RUMOUR  Believe all you hear. Your world may  
jdassen@wi.LeidenUniv.nl      | not be a better one than the one the blocks   
                              | live in but it'll be a sight more vivid.      
                              |     - The Hipcrime Vocab by Chad C. Mulligan  

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: