🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3880

minor problem with COPY command

#3880
From: Everett Kaser
Date: Thu, 13 Dec 1990 00:12
20 lines
1391 bytes
OK, here's one for ya (and Microsoft).  Lets assume that you have a program
called JUNK.COM in your current directory and it's 15385 bytes long (the
number doesn't matter).  Now, do this:
     COPY JUNK.* TEMPFILE
You shouldn't have any other files in the current directory that match JUNK.*
besides JUNK.COM.  The result of this copy will be a file called TEMPFILE
with today's date and smaller than the original JUNK.COM (usually by a long
ways).  What appears to be happening is that the COPY is being done as if
JUNK.COM was an ASCII file, and as soon as an EOF character (26) is encountered
the copy halts.  The following will work:
    COPY JUNK.* A:
    COPY JUNK.* TEMPFILE.*
    COPY JUNK.COM TEMPFILE
But NOT 
    COPY JUNK.* TEMPFILE
Seems like a bug to me.

Everett Kaser                   Hewlett-Packard Company
...hplabs!hp-pcd!everett        work: (503) 750-3569   Corvallis, Oregon
everett%hpcvra@hplabs.hp.com    home: (503) 928-5259   Albany, Oregon
Technical Details
Message-ID: <31600012@hpcvra.cv.hp.com.CV.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!everett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!everett
From: everett@hpcvra.cv.hp.com.CV.HP.COM (Everett Kaser)
Newsgroups: comp.os.msdos.programmer
Subject: minor problem with COPY command
Message-ID: <31600012@hpcvra.cv.hp.com.CV.HP.COM>
Date: 13 Dec 90 00:12:38 GMT
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 20