Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!uuneo!sugar!peter From: peter@NeoSoft.com (Peter da Silva) Subject: Re: patch for bin/rm/rm.c Organization: NeoSoft Communications Services -- (713) 684-5900 Date: Sat, 27 Mar 1993 11:01:24 GMT Message-ID: <C4JnyD.KIw@sugar.neosoft.com> References: <CGD.93Mar23164609@erewhon.CS.Berkeley.EDU> <1993Mar24.222133.14022@fcom.cc.utah.edu> <GDAY.93Mar26114912@ignatz.inde.bc.ca> Lines: 16 In article <GDAY.93Mar26114912@ignatz.inde.bc.ca> gday@ignatz.inde.bc.ca (Gordon Day) writes: > mv bar/* foo/ > ...knowing that the command will _fail_ if foo is not a directory. I know what you mean, though this is a poor example since mv checks for this case. Personally, I've used: some command that may need a directory foo/. The /. works no matter what variant of the file system you're using. -- Peter da Silva. <peter@sugar.neosoft.com>. `-_-' Oletko halannut suttasi tänään? 'U` Tarjoilija, tämä ateria elää vielä.