*BSD News Article 80979


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: dummy question
Date: 16 Oct 1996 15:26:46 +0100
Organization: Coverform Ltd.
Lines: 27
Sender: brian@awfulhak.demon.co.uk
Message-ID: <542rb6$i6@anorak.coverform.lan>
References: <53mfdu$1iv@wa4phy.async.com> <53oncv$fi5@newshost.lanl.gov>
    <53rfcg$a7@anorak.coverform.lan> <5411l8$dr9@uriah.heep.sax.de>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <5411l8$dr9@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
: brian@anorak.coverform.lan (Brian Somers) wrote:
: 
>> In FreeBSD (and BSD in generial I believe), '-' *may* be treated as a
>> valid flag if the program wishes.  If the program doesn't specifically
>> mention it, it behaves like "--".
: 
: If i'm not very mistaken, Posix mandates that a single dash should be
: handled in lieu of a file argument for stdin or stdout.  The double
: dash is the regular end of option processing.

I guess that's why getopt allows the caller to treat it as an option.

BTW, on another note J"org, I note that you're using knews.  Does this
article thread correctly after your article in your view ?  Your
previous article mis-threaded (I *think* due to knews on my end) - as
if knews doesn't handle header line continuations - even though it
writes them itself.

This threading lark is beginning to bug me :)

-- 
Brian <brian@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.