lkml.org 
[lkml]   [1999]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] v1.01 of /proc/.config (ready to eat)
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site