diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-09 14:05:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-09 14:05:13 +0000 |
commit | 5557bf3f75c8482da15aced06b9af0fb05afd768 (patch) | |
tree | 108395d129c0f984c4378ddd3bd22b65f510e3a2 | |
parent | 08d500519f15e6af421f3596b923205cde3fba97 (diff) | |
download | irssi-5557bf3f75c8482da15aced06b9af0fb05afd768.zip |
small fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@444 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | .cvsignore | 1 | ||||
-rwxr-xr-x | autogen.sh | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -32,3 +32,4 @@ default-config.h irssi-version.h irssi-version.h.in irssi-config +colorless.theme @@ -142,8 +142,7 @@ for i in $files; do file=`echo "$i"|sed 's@^src/@@'` file=`echo "$file"|sed 's@/module-formats\.c$@@'` echo " \"$file\" = {" >> colorless.theme - #cat $i | perl -e 'while (<>) { if (/.*".*".*".*"/) { s/^\W*{\W*"([^"]*)",\W*"([^"]*)".*/ \1 = "\2;"/; print $_; } }' >> colorless.theme - cat $i | perl -e 'while (<>) { if (/^\W*{\W*"([^"]*)",\W*"([^"]*)".*/) { $key = $1; $value = $2; $value ~= s/%[krgybmpcwKRGYBMPCW01234567]//g; print(" $key = \"$value\";\n"); } }' >> colorless.theme + cat $i | perl -e 'while (<>) { if (/^\W*{\W*"([^"]*)",\W*"([^"]*)".*/) { $key = $1; $value = $2; $value =~ s/%[krgybmpcwKRGYBMPCW01234567]//g; print(" $key = \"$value\";\n"); } }' >> colorless.theme echo " };" >> colorless.theme done |