[BusyBox] dpkg-deb shell script

Erik Andersen andersen at lineo.com
Mon Oct 9 18:36:05 UTC 2000


On Mon Oct 09, 2000 at 11:11:54AM -0700, Matt Kraai wrote:
> On Sun, Oct 08, 2000 at 02:30:15AM +1100, Glenn McGrath wrote:
> > I wrote a simple shell script (~2K) that provides most of the
> > functionality of dpkg-deb, if i can get it working under lash would it
> > be apropriate to upload to busybox/scripts ?
> > 
> > Im not too sure how well shell scripts fit in with busybox's style is
> > all.
> > 
> > At the moment it uses the nl command which isnt in busybox, so i would
> > have to work something out there.
> 
> I've attached a patch which adds nl.  Please test it and let me know if
> it works for you.  Is this appropriate for inclusion in the official
> sources?
> 
> Matt

Hmm.  This same thing can be accomplished via 
    ./busybox grep -n "" <file>

I wonder which is smaller -- your patch or a link to grep
that skips the option parsing and just does the nl stuff?

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list