Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!decwrl!deccrl!news.crl.dec.com!shlump.nac.dec.com!lemans.dec.com!decuac!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: rm (remove) command Message-ID: <15228@smoke.brl.mil> Date: 16 Feb 91 23:55:03 GMT References: <1991Feb16.192418.2361@wpi.WPI.EDU> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 13 In article <1991Feb16.192418.2361@wpi.WPI.EDU> jhall@wpi.WPI.EDU (John Clinton Hall) writes: >Where can I get the C source to rm (remove)? Can I anon FTP it from somewhere? This really isn't the proper newsgroup for such queries. However, the simple answer is that on many systems the "rm" utility amounts to little more than passing the arguments one at a time to the remove() or unlink() library function. Command-line options add a bit of complication, but that's the general idea. It is quite likely that the source code for the utilities on your particular system are protected by nondisclure provisions in license agreements between the provider and your institution. For such reasons, code like that is not normally available for anonymous FTP. You may be able to find a public-domain implementation somewhere..