| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: getopt() |
| Date: | 22 May 2004 11:43:39 GMT |
| Lines: | 20 |
| Message-ID: | <2h8snbFa237dU3@uni-berlin.de> |
| References: | <40af296d$0$15744$91cee783 AT newsreader01 DOT highway DOT telekom DOT at> |
| X-Trace: | news.uni-berlin.de 4TW95T5veA/La0vGHwNOCAEMWlqm8RtX0feiXRYQ7lNycrF2aeC7/aib+7 |
| X-Orig-Path: | not-for-mail |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Florian Xaver <collect AT drdos DOT org> wrote: > Hi! > I am using this funktion in my program. > My problem: It should support ALL switchars... so that i also > can use command lines like > test /P /U > instead of > test -P -U > How is this possible? I suspect it isn't. getopt() is a child of Unix, where / is a directory separator, and as such not available for abuse as a command line switch escape character. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |