[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    [W:0.050 / U:21.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site