Rename lolcat to LOLCAT to avoid collision with a fine rainbow colored cat. Closes...
authorJoey Hess <joey@kitenet.net>
Tue, 9 Sep 2014 14:04:02 +0000 (10:04 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 9 Sep 2014 14:04:02 +0000 (10:04 -0400)
LOLCAT [new file with mode: 0755]
Makefile
debian/changelog
lolcat [deleted file]

diff --git a/LOLCAT b/LOLCAT
new file mode 100755 (executable)
index 0000000..22c4a58
--- /dev/null
+++ b/LOLCAT
@@ -0,0 +1,86 @@
+#!/usr/bin/perl -p
+# lolcatz filtur
+# Copyright 2013 by Joey Hess under the terms of the GNU GPL.
+
+# an array, not a hash. because order is important
+@trans_table=(
+       'can i' => 'i can',
+       '\bi\'ve' => 'i',
+       '\ba\s+' => '', # nuke 'a'
+       'cheese' => 'cheez',
+       '\brock\b' => 'rawk',
+       'ese\b' => 'ees',
+       's\'s\b' => 's',
+       '\'s\b' => 's',
+       'er\b' => 'r',
+       'ture\b' => 'chur',
+       'day' => 'dai',
+       '\bok\b' => 'k',
+       '\boks\b' => 'ks',
+       'boy' => 'boi',
+       'tion' => 'shun',
+       'ight' => 'ite',
+       'innocent' => 'innozent',
+       'ph' => 'f',
+       'es' => 'ez',
+       'ed\b' => 'd',
+       'ns' => 'nz',
+       'ks' => 'kz',
+       'ds' => 'dz',
+       'se' => 'ze',
+       'zs' => 's',
+       'sz' => 'z',
+       'ss' => 's',
+       'cc' => 'cs',
+       'ck' => 'k',
+       'oa' => 'o',
+       '\bcat' => 'kat',
+       'ive\b' => 'iv',
+       'ake' => 'aek',
+       'ed\b' => 'd',
+       'ing\b' => 'in', 
+       'sion' => 'shun',
+       '\bam\b' => 'iz',
+       '\bhave\b' => 'has',
+       '\bwho' => 'hoo',
+       '\bwake\b' => 'waek',
+       '\bone\b' => '1',
+       '\btwo\b' => '2',
+       '\bto\b' => '2',
+       '\btoo\b' => '2',
+       '\bthree\b' => '3',
+       '\bfour\b' => '4',
+       '\bfor\b' => '4',
+       '\bfore\b' => '4',
+       '\bfive\b' => '5',
+       '\bsix\b' => '6',
+       '\bseven\b' => '7',
+       '\beight\b' => '8',
+       '\bnine\b' => '9',
+       '\bten\b' => '10',
+       'god' => 'ceilin cat',
+       'jezus' => 'jebus',
+       'kitty' => 'kitteh',
+       'saturdai' => 'katurdai',
+       'allah' => 'invisible man',
+       'delicious' => 'delishus',
+       '\bdoctor\b' => 'docta',
+       '\bdr\b' => 'docta',
+       '\bgay\b' => 'ghey',
+       '\bgood\b' => 'gud',
+       '\bever' => 'evr',
+       '\bpage\b' => 'paeg',
+       'cheezburgr' => 'cheezburger', # fix up to canonical form
+);
+
+y/A-Z/a-z/;
+
+while (@trans_table) {
+       $key=shift @trans_table;
+       $value=shift @trans_table;
+       s/$key/$value/g;
+}
+
+s/es/ez/g;
+
+y/a-z/A-Z/;
index 91b6cda6b9f165453f0e5ee07553db0989e35da0..a30c64ed4fd61ce98062aeceb5df8fb78d66b55a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 LEX    = flex
 BUILD  = jethro kraut cockney jive nyc ken ky00te newspeak nethackify scramble
 OTHER  = eleet b1ff chef jibberish upside-down rasterman studly fudd \
-         censor spammer uniencode pirate kenny scottish fanboy lolcat
+         censor spammer uniencode pirate kenny scottish fanboy LOLCAT
 CFLAGS = -O2 -lfl
 export CFLAGS
 INSTALL_PROGRAM = install
index 296e6ca013eea7d045f35b61cff86500cf48f59a..efbe0bf1def7275f02ba00f47cf2457495568798 100644 (file)
@@ -1,3 +1,10 @@
+filters (2.52) UNRELEASED; urgency=medium
+
+  * Rename lolcat to LOLCAT to avoid collision with a fine rainbow colored cat.
+    Closes: #760910
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 09 Sep 2014 10:03:14 -0400
+
 filters (2.51) unstable; urgency=medium
 
   * Include lolcat in installation, which was missed by accident.
diff --git a/lolcat b/lolcat
deleted file mode 100755 (executable)
index 22c4a58..0000000
--- a/lolcat
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/usr/bin/perl -p
-# lolcatz filtur
-# Copyright 2013 by Joey Hess under the terms of the GNU GPL.
-
-# an array, not a hash. because order is important
-@trans_table=(
-       'can i' => 'i can',
-       '\bi\'ve' => 'i',
-       '\ba\s+' => '', # nuke 'a'
-       'cheese' => 'cheez',
-       '\brock\b' => 'rawk',
-       'ese\b' => 'ees',
-       's\'s\b' => 's',
-       '\'s\b' => 's',
-       'er\b' => 'r',
-       'ture\b' => 'chur',
-       'day' => 'dai',
-       '\bok\b' => 'k',
-       '\boks\b' => 'ks',
-       'boy' => 'boi',
-       'tion' => 'shun',
-       'ight' => 'ite',
-       'innocent' => 'innozent',
-       'ph' => 'f',
-       'es' => 'ez',
-       'ed\b' => 'd',
-       'ns' => 'nz',
-       'ks' => 'kz',
-       'ds' => 'dz',
-       'se' => 'ze',
-       'zs' => 's',
-       'sz' => 'z',
-       'ss' => 's',
-       'cc' => 'cs',
-       'ck' => 'k',
-       'oa' => 'o',
-       '\bcat' => 'kat',
-       'ive\b' => 'iv',
-       'ake' => 'aek',
-       'ed\b' => 'd',
-       'ing\b' => 'in', 
-       'sion' => 'shun',
-       '\bam\b' => 'iz',
-       '\bhave\b' => 'has',
-       '\bwho' => 'hoo',
-       '\bwake\b' => 'waek',
-       '\bone\b' => '1',
-       '\btwo\b' => '2',
-       '\bto\b' => '2',
-       '\btoo\b' => '2',
-       '\bthree\b' => '3',
-       '\bfour\b' => '4',
-       '\bfor\b' => '4',
-       '\bfore\b' => '4',
-       '\bfive\b' => '5',
-       '\bsix\b' => '6',
-       '\bseven\b' => '7',
-       '\beight\b' => '8',
-       '\bnine\b' => '9',
-       '\bten\b' => '10',
-       'god' => 'ceilin cat',
-       'jezus' => 'jebus',
-       'kitty' => 'kitteh',
-       'saturdai' => 'katurdai',
-       'allah' => 'invisible man',
-       'delicious' => 'delishus',
-       '\bdoctor\b' => 'docta',
-       '\bdr\b' => 'docta',
-       '\bgay\b' => 'ghey',
-       '\bgood\b' => 'gud',
-       '\bever' => 'evr',
-       '\bpage\b' => 'paeg',
-       'cheezburgr' => 'cheezburger', # fix up to canonical form
-);
-
-y/A-Z/a-z/;
-
-while (@trans_table) {
-       $key=shift @trans_table;
-       $value=shift @trans_table;
-       s/$key/$value/g;
-}
-
-s/es/ez/g;
-
-y/a-z/A-Z/;
This page took 0.015959 seconds and 4 git commands to generate.