From owner-freebsd-questions@freebsd.org  Mon Aug  3 21:56:28 2015
Return-Path: <owner-freebsd-questions@freebsd.org>
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 C76229B21E0
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Mon,  3 Aug 2015 21:56:28 +0000 (UTC)
 (envelope-from chrisstankevitz@gmail.com)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com
 [IPv6:2607:f8b0:4001:c05::22a])
 (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 9577F105B
 for <freebsd-questions@freebsd.org>; Mon,  3 Aug 2015 21:56:28 +0000 (UTC)
 (envelope-from chrisstankevitz@gmail.com)
Received: by igbij6 with SMTP id ij6so63020530igb.1
 for <freebsd-questions@freebsd.org>; Mon, 03 Aug 2015 14:56:28 -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=CFvgsvrzzUjjddwJxtTNtgo2gb+cxmsDUIsYLm1kyOM=;
 b=IHHo10EH+GIY9jljjHC5d11z/nCKrIn6MfNIgxIokpql8hO1VEnaNM916V+lvu1Ix+
 GbOobwtfDwUyoTojdMDT1A9n6J3fleNxd8jTZzzlh3qNVO2LGFz7fl0xhdN/ltkg5fqy
 ftfzwQ06Wxdtf9bPIlIRHReRK3uZSYCTKw1MWSZOSR+lrd1fOjHfgMCiz1aaQ3AKPxad
 mwkpl+IrVuQyfXDXVPSOP62tlZOyepPrHKsKUfJaKZkwTg+Rzq2cSJQIvmuUML87muO9
 pIiwUrutked3eqT3trIpk5oXtFB0ym0abUMtltirFdKi5xrT2gDCH0kpMo4Mo8AK//7R
 ya1Q==
MIME-Version: 1.0
X-Received: by 10.50.93.69 with SMTP id cs5mr24571749igb.4.1438638987961; Mon,
 03 Aug 2015 14:56:27 -0700 (PDT)
Received: by 10.79.111.205 with HTTP; Mon, 3 Aug 2015 14:56:27 -0700 (PDT)
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>
Date: Mon, 3 Aug 2015 14:56:27 -0700
Message-ID: <CAPi0psuLRVi4umS2zCLfEHz-gzhkpEPq0mcR_kKKbGF975J7kA@mail.gmail.com>
Subject: Re: Getting value out of "man getopts"
From: Chris Stankevitz <chrisstankevitz@gmail.com>
To: Christian Weisgerber <naddy@mips.inka.de>
Cc: freebsd-questions <freebsd-questions@freebsd.org>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2015 21:56:28 -0000

On Mon, Aug 3, 2015 at 1:45 PM, Christian Weisgerber <naddy@mips.inka.de> wrote:
> Further down, the "useless" builtin(1) man page says that getopts
> is only a builtin in sh(1) and not available in csh(1).

Christian: I apologize for using the term "useless" -- I should have
instead said "apparently useless to me but I am a dunce and I probably
don't get it hence I am making this post asking for help".  I tried to
communicate this in my OP by saying "at least it seems useless to me
but that's probably because I am a dunce."

All: thank for your help.  I now understand why "man getopts" and "man
csh" are not helpful in explaining getopts.  I see that "man sh" shows
some info about getopts.

I apologize to all I offended, particularly Sheldon Hearn, author of
"man builtin".

Chris