[comp.sys.ibm.pc] Is there a "getopt" for PCs?

rds95@leah.Albany.Edu (Robert Seals) (09/13/88)

Hi -

I know, this has been asked a zillion times before - but I didn't CARE
then... {cute smiley goes here}.

I need `getopt' functionality for my C programs running on a PC. I know
all about how msdos deals with command lines, so don't go into it. I
just want a ftp-able copy of source code to do getopt. I usually skip
this group, so please mail directly to me at

rob@asrcmv.albany.edu

If it matters, it's for TC 1.5.

THANK YOU VERY MUCH!
rob

feg@clyde.ATT.COM (Forrest Gehrke) (09/13/88)

In article <998@leah.Albany.Edu>, rds95@leah.Albany.Edu (Robert Seals) writes:
|> Hi -
|> 
|> I know, this has been asked a zillion times before - but I didn't CARE
|> then... {cute smiley goes here}.
|> 
|> I need `getopt' functionality for my C programs running on a PC. I know
|> all about how msdos deals with command lines, so don't go into it. I
|> just want a ftp-able copy of source code to do getopt. I usually skip
|> this group, so please mail directly to me at
|> 
|> rob@asrcmv.albany.edu

Yeah, I know, we ain't worth much of your time.  Why should we
waste any more of it?
    Forrest Gehrke

|> 
|> If it matters, it's for TC 1.5.
|> 
|> THANK YOU VERY MUCH!
|> rob

darylm@illian.UUCP (Daryl V. McDaniel) (09/15/88)

In article <998@leah.Albany.Edu>, rds95@leah.Albany.Edu (Robert Seals) writes:
|> Hi -
|> 
|> I know, this has been asked a zillion times before - but I didn't CARE
|> then... {cute smiley goes here}.
|> 
|> I need `getopt' functionality for my C programs running on a PC. I know
|> all about how msdos deals with command lines, so don't go into it. I
|> just want a ftp-able copy of source code to do getopt. I usually skip
|> this group, so please mail directly to me at
|> 
|> rob@asrcmv.albany.edu
|> 
|> If it matters, it's for TC 1.5.
|> 
|> THANK YOU VERY MUCH!
|> rob

There is a version of getopt provided with the Turbo C V1.5 distribution.
It is essentially the same one as has been posted many times to
comp.sources.unix.  I would suggest that you take a good look at your
disks.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Daryl V. McDaniel
Micronetics			USENET:	...tektronix!nosun!illian!darylm
4730 S.W. 182nd Ave.		 TELEX:	WUI 6972206
Aloha, OR   97007		 PHONE:	(503) 224-7056

wsiebeck@rmi.UUCP (Wolfgang Siebeck) (09/23/88)

In article <998@leah.Albany.Edu> rds95@leah.Albany.Edu (Robert Seals) writes:
: I need `getopt' functionality for my C programs running on a PC. I know
: ....
: If it matters, it's for TC 1.5.

So what? If you got TURBOC, you got getopt.c, it is included in the package!
Just take a look at the distribution diskettes, it comes from Borland.

greetings,
Wolfgang