Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!mcdchg!usenet From: usenet@mcdchg.UUCP Newsgroups: mod.os.unix Subject: Re: getopt command problem: doesn't re-quote Message-ID: <279@mcdchg.UUCP> Date: Wed, 25-Mar-87 12:49:35 EST Article-I.D.: mcdchg.279 Posted: Wed Mar 25 12:49:35 1987 Date-Received: Fri, 27-Mar-87 04:27:30 EST Sender: usenet@mcdchg.UUCP (Usenet Admin) Organization: AT&T-IS Labs, Lincroft, NJ Lines: 14 Approved: usenet@falkor.UUCP < Since writing one's own getopt program is trivial on a system with the < getopt call, this is more of a major annoyance than a problem. So, my < questions: < 1) Any portable workarounds (I can't think of any)? < 2) Have any of the standards groups thought of proposing that this be < fixed? Both System V release 3 and POSIX (1003.2) recognize this problem. The Vr3 solution was to introduce a builtin into the shell called getopts which would replace the use of getopt and do all of the proper quoting. POSIX is following suit. Tony Hansen ihnp4!pegasus!hansen