From owner-freebsd-questions@freebsd.org Mon Aug 3 20:26:49 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91DE89B2A1D for ; Mon, 3 Aug 2015 20:26:49 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FDF21574 for ; Mon, 3 Aug 2015 20:26:49 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igbij6 with SMTP id ij6so61692045igb.1 for ; Mon, 03 Aug 2015 13:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I/ki2xxdv3LD+AZi2Fs+QGdExoCJmehYVqSj2cqtAjQ=; b=qwxJyeS/2E6kBPTxoSaZZ32Wv1sy2h3ncs+DGcy76rYR9i7DsYnCazDYanLoCqsRH1 Lvz3F8ol768aSYuUlCGc5Jff5S7QDp2YHRrS13yPmaKwstnbiWcV0wEqRUocKGoh08pg b+5HtlPPX7LWxqFzPO3mw2C+ZE+hNnbaPeHJ04dEZpr3HWtXopE0dHO4FDCGgFOQInxo yEaXkpqU7UnZ6ZRtryse5tWKu8fuaL1K33AuIz9kgo7u+RWp7dTxY20IFkDvUtxFvHmW 4VKbweEAzEb/gJRuapt9HpPOr/j9ITU40iMYe1Uq2iTlJiFIPAEbTsdvzVxs/qK0r+rj xqig== MIME-Version: 1.0 X-Received: by 10.50.93.69 with SMTP id cs5mr24225366igb.4.1438633608838; Mon, 03 Aug 2015 13:26:48 -0700 (PDT) Received: by 10.79.111.205 with HTTP; Mon, 3 Aug 2015 13:26:48 -0700 (PDT) In-Reply-To: <55BFCC52.3030403@sneakertech.com> References: <55BFCC52.3030403@sneakertech.com> Date: Mon, 3 Aug 2015 13:26:48 -0700 Message-ID: Subject: Re: Getting value out of "man getopts" From: Chris Stankevitz To: Quartz Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 20:26:49 -0000 On Mon, Aug 3, 2015 at 1:17 PM, Quartz wrote: > Just to be 100% clear, are you referring to "getopt" or "getopts" (with the > 's')? They're closely related and often confused. Quartz, I'm interested in getopts with an 's', which is a built-in command. And I think I understand why "man getopts" shows me a largely useless page. Builtin commands might exist for many different shells and the man infrastructure doesn't necessarily know which shell's documentation to display... so it gives just a generic manual. Still leaves me wondering where I am supposed to go for csh's getopts man page. Thank you, Chris