Article View: gnu.misc.discuss
Article #62981Re: Hurd questions
From: Andrew M. Langmead
Date: Mon, 27 Mar 1995 13:55
Date: Mon, 27 Mar 1995 13:55
13 lines
1154 bytes
1154 bytes
Stefan 'Stetson' Skoglund <sp2stes1@ida.his.se> writes: >You have to decide whom is gonna do this check. >rm or the shell ?? There are two things that "rm" could do. Count the number of files in the directory, and see if they match the number of command line arguements. This would prevent "rm *" disasters. Check if every file name is valid before unlinking. This would prevent "rm * .o" disasters. -- Andrew Langmead
Technical Details
Message-ID:
<D63qp4.90r@world.std.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!news2.near.net!news.mathworks.com!news.kei.com!world!amlReferences:
<81696@sdcc12.ucsd.edu> <3kpfba$k85@jak.cosy.sbg.ac.at> <SP2STES1.95Mar27110801@sol1.ida.his.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,ef34758fb4e8c162 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1995-03-27 10:51:21 PST Newsgroups: gnu.misc.discuss Path: arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!news2.near.net!news.mathworks.com!news.kei.com!world!aml From: aml@world.std.com (Andrew M. Langmead) Subject: Re: Hurd questions Message-ID: <D63qp4.90r@world.std.com> Organization: The World @ Software Tool & Die References: <81696@sdcc12.ucsd.edu> <3kpfba$k85@jak.cosy.sbg.ac.at> <SP2STES1.95Mar27110801@sol1.ida.his.se> Date: Mon, 27 Mar 1995 13:55:52 GMT Lines: 13