From owner-freebsd-questions@freebsd.org Mon Aug 3 21:05:38 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 431F39B24B4 for ; Mon, 3 Aug 2015 21:05:38 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 255CF105C for ; Mon, 3 Aug 2015 21:05:37 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 1A76B3F70B for ; Mon, 3 Aug 2015 17:05:37 -0400 (EDT) Message-ID: <55BFD7A0.6040201@sneakertech.com> Date: Mon, 03 Aug 2015 17:05:36 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Getting value out of "man getopts" References: <55BFD213.9030701@hiwaay.net> In-Reply-To: <55BFD213.9030701@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 21:05:38 -0000 > 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.