Re: rm -rf on hammer

看板DFBSD_bugs作者時間16年前 (2009/05/29 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
> >> Hi. >> >> I found this with rm(1) and the -f flag on master with a hammer file >> system: >> >>> mkdir foo >>> rm -rf foo >> recursively remove foo? >> >> I don't know if it has something to do with how hammer handles >> directories? > > Nope it has to do with rm being aliased to 'rm -I' by default. Aha, thanks. Didn't think this "bug" was that simple to solve. I'll remove it straight away, becase I want -f to mean "just shut up and remove it" :-) Max
文章代碼(AID): #1A7jYi00 (DFBSD_bugs)
文章代碼(AID): #1A7jYi00 (DFBSD_bugs)