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:[email protected]] Sent: Monday, June 23, 2014 10:44 AM To: Cathey, Jim Cc: [email protected] Subject: Re: [PATCH] Add coreutils/unlink.c On Mon, Jun 23, 2014 at 7:24 PM, Cathey, Jim <[email protected]> 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. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
