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

Re: [d-i] today's treecompare



On Sat, Oct 20, 2001 at 06:34:12PM +1300, Mark van Walraven wrote:
> On Sat, Oct 20, 2001 at 12:54:23PM +1000, Anthony Towns wrote:
> > On Fri, Oct 19, 2001 at 06:46:32PM -0400, Joey Hess wrote:
> > > Removed stuff:
> > > 	/bin/touch
> > > 	/usr/bin/head
> > > 	/usr/bin/sort
> > > 	/usr/bin/wc
> > 
> > ...are all used by debootstrap.
> 
> Substitute "> FILE" for "touch FILE".

that should already be done in the last patch or two that were NMUed,
but i could have missed one.

> Substitute "sed -e q" for "head -n 1".

sed is used more often then this ...

> wcc () { return `dd if=$1 of=/dev/null bs=1 2>&1 | sed -e 's/\+.*//;q'` }

busybox dd does not produce output like GNU dd.

> Sort is a little harder, but feasible as a shell function.  Wanna?  :-)
> 
> BTW: does "ls --block-size=1 -s" look broken to you?

busybox ls doesn't know what that is.

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

Attachment: pgpAfhnwAodGi.pgp
Description: PGP signature


Reply to: