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".

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

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

Sort is a little harder, but feasible as a shell function.  Wanna?  :-)

BTW: does "ls --block-size=1 -s" look broken to you?

Regards,

Mark.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to