bug-fileutils
[Top][All Lists]
Advanced

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

rm 4.1.9 and dangling symlinks


From: Mike Castle
Subject: rm 4.1.9 and dangling symlinks
Date: Wed, 3 Jul 2002 15:33:01 -0700
User-agent: Mutt/1.4i

Not sure if this is a bug or feature (or even Linux specific).

address@hidden:30pm]~(937) ls foo bar
ls: foo: No such file or directory
ls: bar: No such file or directory
address@hidden:31pm]~(938) ln -s foo bar
address@hidden:31pm]~(939) rm bar
rm: remove symbolic link `bar'? y
address@hidden:31pm]~(940) ln -s foo bar
address@hidden:31pm]~(941) rm -f bar
address@hidden:31pm]~(942) rm --version
rm (fileutils) 4.1.9
address@hidden:31pm]~(943) touch foo
address@hidden:32pm]~(946) ln -s foo bar
address@hidden:32pm]~(947) rm bar

In the dangling symlink case, should it be prompting about removal?

mrc
-- 
     Mike Castle      address@hidden      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]