Messages in this thread |  | | | Date | Wed, 8 Mar 2000 17:18:04 -0800 (PST) | | From | David Ford <> | | Subject | Re: [ot?] [patch] posting .config files |
| |
On Wed, 8 Mar 2000 bernie@pertsounds.com wrote: > perl -pe 's/^CONFIG_//;s/^\#.*//;s/\=y$//;s/^\s*$//' .config
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) real 0m0.026s user 0m0.020s sys 0m0.000s
(perl) real 0m0.037s user 0m0.080s sys 0m0.000s
-d
- 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/
|  |