[lkml]   [2000]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [ot?] [patch] posting .config files
David Ford wrote:
> sed '/^CONFIG/!d;s/CONFIG_//;s/=y//' .config
> ..a bit easier to read, shorter, faster :)
> shall we have a competition to improve this regex even more?


sed 's/=y//;/^CONFIG_/s///p;d' .config
Not necessarily faster, though.

- Werner

/ Werner Almesberger, ICA, EPFL, CH /
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean