Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 16:18:52 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Tim Robbins <tim@robbins.dropbear.id.au>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/35201: link and unlink are not SUSv2-compliant as the manpage states 
Message-ID:  <54382.1014387532@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Fri, 22 Feb 2002 06:10:01 PST." <200202221410.g1MEA1A91852@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 22 Feb 2002 06:10:01 PST, Tim Robbins wrote:

>  I've adjusted the patches to rm and ln to use getopt instead of doing it
>  themselves. I was hesitant in doing that at first because it breaks
>  "unlink -foo", but P1003.2-1992 says:
>  "Applications calling any utility with a first operand starting with "-"
>  should usually specify "--", as indicated by Guideline 10, to mark the
>  end of the options.  This is true even if the Synopsis in this standard
>  does not specify any options; implementations may provide options as
>  extensions to this standard."
>  ... and I'm not sure anyone really uses link/unlink, anyway.

Argh!

The whole point of these alternatives to ln/rm is that they have a
simple, optionless interface.  :-(

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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