Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 17:05:36 -0400
From:      Quartz <quartz@sneakertech.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Getting value out of "man getopts"
Message-ID:  <55BFD7A0.6040201@sneakertech.com>
In-Reply-To: <55BFD213.9030701@hiwaay.net>
References:  <CAPi0psusiWhyuG52jNRMgwShPuj0djMUb=nO6S=qG9V_9xc-RQ@mail.gmail.com> <55BFD213.9030701@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> My getopts man page says there is no 'getopts' under csh .... 9.3R-p20,
> YMMV, IANAL & all that rot ....

One of the many problems with csh is that early versions were super 
buggy and unstable, but people couldn't get their act together so 
everybody made their own forks and patched stuff themselves. By today's 
point there are like half a dozen different flavors of csh that are all 
slightly different and it's not always clear which version you have. 
IIRC most flavors of csh don't have getopts as a built-in, but I've seen 
a couple that sort of hack it in their own way. I've not messed with the 
csh in FreeBSD that much so I don't know off the top of my head what it 
can do.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BFD7A0.6040201>