On 2010-03-27 03:38:08 +1100, Tim Connors wrote:
> Yeah, but 'crontab -' is abortable,

You can still silently lose the crontab under some conditions.
For instance, type "crontab" or "crontab -", then [Enter], then
close the terminal window. The crontab is lost!

So, even "crontab" and "crontab -" would need -i.

> > Also, I think that the user should be prompted only when the user
> > already has a crontab. Currently, "crontab -r -i" prompts the user
> > is any case.
> 
> Yep.  Just like 'rm -i' and 'cp -i'.

No, rm -i and cp -i don't prompt the user if the target doesn't
exist:

xvii% rm -i wgegwrtgrwg
rm: cannot remove `wgegwrtgrwg': No such file or directory
xvii% cp -i file fwefwefwef
xvii%

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to