🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #263

Re: YES freezes OS/2!

#263
From: David Charlap
Date: Wed, 05 Aug 1992 22:55
24 lines
1329 bytes
In article <1992Aug05.044953.15348@frodo.cc.flinders.edu.au> mmtl@hobson.cc.flinders.edu.au (T.Lampre) writes:

>I have no idea why your program does not work, but can't you achieve
>the same thing by using "del . /n"?

Or, for that matter, you could use the DOS method of deleting all
files:
        for %a in (*.*) do del %a > nul

Or you could use the GNU rm utility (like I do)

        rm [-r] *

BTW: Is your "YES" program checking if the stdout stream has closed?
You should check for that.  Otherwise, you don't have any exit
condition, and it'll get cought in an endless loop.



-- 
   |)  David Charlap           "I don't even represent myself
  /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
 ((|,)
  ~|~  Hi! I am a .signature virus, copy me into your .signature file.
Technical Details
Message-ID: <1992Aug5.225525.1623@njitgw.njit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
References: <UeTObsr0BwwwQwvGdg@transarc.com> <1992Aug05.044953.15348@frodo.cc.flinders.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: YES freezes OS/2!
Message-ID: <1992Aug5.225525.1623@njitgw.njit.edu>
Date: 5 Aug 92 22:55:25 GMT
References: <UeTObsr0BwwwQwvGdg@transarc.com> <1992Aug05.044953.15348@frodo.cc.flinders.edu.au>
Sender: news@njit.edu
Organization: New Jersey Institute of Technology, Newark, N.J.
Lines: 24
Nntp-Posting-Host: hertz.njit.edu