Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 11:51:20 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Getting value out of "man getopts"
Message-ID:  <20150804115120.602f1f87@gumby.homeunix.com>
In-Reply-To: <slrnmrvko7.2ht3.naddy@lorvorc.mips.inka.de>
References:  <CAPi0psusiWhyuG52jNRMgwShPuj0djMUb=nO6S=qG9V_9xc-RQ@mail.gmail.com> <slrnmrvko7.2ht3.naddy@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Aug 2015 20:45:59 +0000 (UTC)
Christian Weisgerber wrote:


> > Questions:
> > 1. Why does "man getopts" not help me with "getopts"?
> 
> Because getopts only exists as a shell built-in, not as a standalone
> command.  Maybe you were thinking of getopt(1).


$ which  getopts
/usr/bin/getopts

It is implemented in sh, but it does exist.




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