[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: busybox bloat



On Mon, Sep 03, 2001 at 11:16:17AM -0600, Erik Andersen wrote:
> On Mon Sep 03, 2001 at 04:48:03AM -0800, Ethan Benson wrote:
> > On Sun, Sep 02, 2001 at 11:48:13PM -0600, Erik Andersen wrote:
> > > 
> > > I consider it a full replacement, and with have now had several releases
> > > with the busybox ash shell.  There are no known bugs...
> > 
> > heres one, command is not implemented (its posix last i checked).
> 
> What command is not yet implemented?  Which version of busybox
> (the one in woody is a bit behind the times for some bizarre
> reason)?

`command' 

if (command -v chmod > /dev/null 2>&1) ; then
	chmod go-w /foobar
else
	echo 'your system is broken' 2>&1
	exit 1
fi

its a shell builtin mandated by posix.

version of busybox is 0.61-1

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp48164sziY3.pgp
Description: PGP signature


Reply to: