lkml.org 
[lkml]   [2000]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[ot?] [patch] posting .config files
Hi,

Postings .config files can obviously be a helpful thing. It's also good to
see that some on this list are concerned about vger's load & bandwidth, and
try to compress their files. But gzip + UUE can be difficult to read.

How about having something "official" like the following:

perl -pe 's/^CONFIG_//;s/^\#.*//;s/\=y$//;s/^\s*$//' .config

It's small, to-the-point, and readable. But possibly not done the Right Way.

$ wc .config
586 1840 12774 .config
$ perl -pe 's/^CONFIG_//;s/^\#.*//;s/\=y$//;s/^\s*$//' .config | wc
122 122 1335
--- Makefile.orig Wed Mar 8 12:05:24 2000
+++ Makefile Wed Mar 8 12:03:08 2000
@@ -489,6 +489,10 @@
checkconfig:
find * -name '*.[hcS]' -type f -print | grep -v scripts/ | sort | xargs perl -w scripts/checkconfig.pl

+# make thinconfig: output small but readable file to post to linux-kernel
+thinconfig:
+ perl -pe 's/^CONFIG_//;s/^\#.*//;s/\=y$$//;s/^\s*$$//' .config
+
checkhelp:
perl -w scripts/checkhelp.pl `find * -name [cC]onfig.in -print`
\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.111 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site