Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!aioe.org!P703Hxu1m1uplaQVJzdzug.user.46.165.242.75.POSTED!not-for-mail From: news@zzo38computer.org.invalid Newsgroups: comp.lang.postscript Subject: Re: getopt.ps Date: Fri, 20 Aug 2021 13:14:51 -0700 Organization: Aioe.org NNTP Server Message-ID: <1628187236.bystand@zzo38computer.org> References: <1627849972.bystand@zzo38computer.org> <0ac2aeb1-c2b3-4253-a90c-04c299ecb13fn@googlegroups.com> Mime-Version: 1.0 Injection-Info: gioia.aioe.org; logging-data="41612"; posting-host="P703Hxu1m1uplaQVJzdzug.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: bystand/1.2.0 X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.lang.postscript:3666 luser droog wrote: > I think this is interesting code (and it's great to see people writing PS!). > But I'm not sure if it's actually very useful. If you're using ghostscript, > you can combine the ARGUMENTS form with -D definitions, so you > don't really need to parse any option style syntax from the ARGUMENTS > list. Just define those with -D and use ARGUMENTS for strings > or filenames or whatever. While that is true, I don't really like -d and -s for your own program's options; the -d and -s are for setting the options of Ghostscript itself (such as specifying what file or printer to use for graphical output, and some other options). -- Don't laugh at the moon when it is day time in France.