[PATCH] Add coreutils/unlink.c

Cathey, Jim jcathey at ciena.com
Mon Jun 23 17:53:57 UTC 2014


Coreutils was not first.  IMHO, if it takes options
of any sort it is broken.  You only use unlink when
you _don't_ want options.

-- Jim

-----Original Message-----
From: Denys Vlasenko [mailto:vda.linux at googlemail.com] 
Sent: Monday, June 23, 2014 10:44 AM
To: Cathey, Jim
Cc: busybox at busybox.net
Subject: Re: [PATCH] Add coreutils/unlink.c

On Mon, Jun 23, 2014 at 7:24 PM, Cathey, Jim <jcathey at ciena.com> wrote:
> The entire point of unlink, the reason it even
> exists, is that it never takes _any_ options.
> Anything you feed it is a filename, and it
> will delete it.

coreutils disagree:

$ unlink --version
unlink (GNU coreutils) 8.17
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Michael Stone.

$ unlink -qwerty
unlink: invalid option -- 'q'
Try 'unlink --help' for more information.


More information about the busybox mailing list