TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: John Gardeniers
from: Paul Edwards
date: 1996-03-19 09:05:58
subject: Re: File name expansion

JG> I have a need for an algorithm or a bit of code which will
JG> accept file names, including wildcards, using exactly the same rules as
JG> the DOS copy command. The output must be a valid path/file name.

JG>         Hello Frank,

FA> I could ask, why in god's name you don't use system(copy
FA> ),  but i won't:)

JG>         The answer is that my compiler has nothing like it, although I have
JG> written a routine which probably does the same thing.  This is what I'm

Why not use a different compiler?  EMX 0.9b is a 32-bit DOS-extended,
ISO-conforming compiler.  You may also be able to use LSI-C, available
for FREQ from 3:711/934.  There is another one around which I don't
have, Hitech C.

JG>         No sweat, the shareware compiler I use (PCC) doesn't even know
JG> about ANSII, let alone ISO.  Besides, ISO has no business messing about
JG> with programing languages.

And why is that?  FREQ ANSI_C.* from 3:711/934 and you will get a copy
of the ANSI C draft, which is basically identical to ISO/IEC 9899:1990.
I am very interested to know what you think is wrong with ANSI_C.*.  I
reckon it's perfect.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.