Re: [patch] v1.01 of /proc/.config (ready to eat)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 13 Mar 1999 15:15:38 +0000 (GMT)


> On Sat, Mar 13, 1999 at 02:12:42PM +0000, Alan Cox wrote:
> >
> > (cat $tmp1; sed -e "s/^CONFIG_//" <.config; cat $tmp2) > ./kernel/dconfig_buf.c
>
> Removing "^" from the sed pattern will save some more bytes:
>
> (cat $tmp1; sed -e "s/CONFIG_//" <.config; cat $tmp2) > ./kernel/dconfig_buf.c
>
> > (free compression 8))
> :-)

Umm

(cat $tmp1; sed -e "s/^CONFIG_//" <.config | grep -v "^#"; cat $tmp2)

??

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/