Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!aglew%fang@gswd-vms.Gould.COM From: aglew%fang@gswd-vms.Gould.COM (Andy Glew) Newsgroups: comp.unix.wizards Subject: Re: Command interfaces Message-ID: <11033@brl-adm.ARPA> Date: 29 Dec 87 19:36:05 GMT Sender: news@brl-adm.ARPA Lines: 36 -ftw@datacube.UUCP writes: -+ aglew@ccvaxa.UUCP (me) writes: -+ > Well, in the days before I came to UNIX (using Whitesmith's on a PDP with -+ > RT-11, if I remember correctly), I used to do: -+ -+ -+ -+ Gee, why didn't you use getflags() ? -+ -Well, I guess I'm stupid because never heard of getflags(). Nor has my -Unix (V.2) manual. So, gee, why don't you enlighten us all ? - -Rob Fair -ihnp4!pyuxww!pyuxf!robf2 getflags() was one of Whitesmith's quirky C routines, similar to getopt(). Whitesmith C had a lot of nonstandard but deserved to be a standard stuff. I didn't use it for the same reasons that I don't use getopt() - I don't like writing stuff twice, I don't like all single letter flags, I like having "standard" sets of arguments and flags that I define in libraries, and I like being able to use the same recognizer on .profile type files that I use on the command line. By the way: does anyone have the canonical Whitesmith to UNIX conversion headers and libraries? BTW2: there is no need to get snarky, guys. "Gee" doesn't have to be pejorative. Andy "Krazy" Glew. Gould CSD-Urbana. 1101 E. University, Urbana, IL 61801 aglew@mycroft.gould.com ihnp4!uiucdcs!ccvaxa!aglew aglew@gswd-vms.arpa My opinions are my own, and are not the opinions of my employer, or any other organisation. I indicate my company only so that the reader may account for any possible bias I may have towards our products.