From: joey Date: Sat, 27 Aug 2005 00:55:01 +0000 (+0000) Subject: releasing version 2.36 X-Git-Tag: 2.39~5 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=32a7bed8e522a64adae39154ed60380c3af8d1f6;p=filters.git releasing version 2.36 --- diff --git a/Makefile b/Makefile index 4742a5a..56e64aa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ LEX = flex BUILD = jethro kraut cockney jive nyc ken ky00te newspeak nethackify -OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd censor spammer uniencode +OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd \ + censor spammer uniencode pirate CFLAGS = -O2 -lfl INSTALL_PROGRAM = install diff --git a/debian/changelog b/debian/changelog index 6941649..3e64da5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,14 @@ -filters (2.36) UNRELEASED; urgency=low +filters (2.36) unstable; urgency=low - * Added pirate filter. TODO: copyright, man page integration, makefile int + * Impress all yer maties on talk like a pirate day with th' new priate + filter, by Dougal Campbell, to be sure. + * Retroactively spiced up th' changelog. Shiver me timbers! -- Joey Hess Thu, 25 Aug 2005 23:28:25 -0400 filters (2.35) unstable; urgency=low - * Add nethackify filter. Closes: #317656 + * Ad| nethackify filtcr. Closes: #317656 * Add automatic webpage update gunk. -- Joey Hess Thu, 25 Aug 2005 22:24:29 -0400 @@ -123,7 +125,7 @@ filters (2.20) unstable; urgency=low * Woo hoo! JWZ has placed newspeak under a BSD-ish license, so it moves in from filters-nonfree. Which is now empty, and will be removed. - * Added studly caps filter by Nick Phillips . + * AdDed StudLy cAps FiltEr bY NiCk PHillIps . -- Joey Hess Mon, 6 Aug 2001 20:38:49 -0400 @@ -163,8 +165,8 @@ filters (2.15) unstable; urgency=low filters (2.14) unstable; urgency=low - * Hahaha. Added a rasterman filter. (Not just "raster" as I worry about - namespace pollution.) + * hahaha. addde a rasterman filter. (nto just "raster" as i woryr about + namespaec pollution.) -- Joey Hess Mon, 27 Nov 2000 20:00:28 -0800 @@ -252,7 +254,7 @@ filters (2.2) unstable; urgency=low filters (2.1) unstable; urgency=low - * Added upside down filter, which well, turns text upside down. + 'umop ap!sdn fxaf sujnf `77am y)!ym `jaf7!j umop ap!sdn pappe * -- Joey Hess Sat, 20 Feb 1999 18:22:43 -0800 @@ -280,7 +282,7 @@ filters (1.7) unstable; urgency=low filters (1.6) unstable; urgency=low - * Added eleet filter, thanks to Jeremy Worrells . + * 4dd3d 3l33t f1lt3r, th4nk5 t0 j3r3my w0rr3ll5 . -- Joey Hess Fri, 6 Mar 1998 11:41:29 -0800 diff --git a/debian/copyright b/debian/copyright index 762b40b..10b0fcd 100644 --- a/debian/copyright +++ b/debian/copyright @@ -98,6 +98,9 @@ has the following license statement: The nethackify filter is copyright 2004 by G�kan Seng� and is released under the gpl. +The pirate filter was converted from a php version in the funfilters, which +are Copyright 2003 by Dougal Campbell and are licensed under the GPL. + Everything else is copyright 1999-2005 by Joey Hess, under the terms of GPL. The full text of the GNU GPL can be found in /usr/share/common-licenses/GPL on Debian systems. diff --git a/filters.6 b/filters.6 index cbba0f4..96fdec3 100644 --- a/filters.6 +++ b/filters.6 @@ -1,6 +1,6 @@ .TH FILTERS 6 .SH NAME -ken, b1ff, censor, chef, cockney, eleet, fudd, jethro, jibberish, jive, kraut, ky00te, newspeak, nyc, rasterman, spammer, studly, uniencode, upside\-down \- assorted text filters +ken, b1ff, censor, chef, cockney, eleet, fudd, jethro, jibberish, jive, kraut, ky00te, nethack, newspeak, nyc, pirate, rasterman, spammer, studly, uniencode, upside\-down \- assorted text filters .SH SYNOPSIS $SHELL | chef @@ -11,7 +11,8 @@ ken, b1ff, censor, chef, cockney, eleet, fudd, jethro, jibberish, jive, kraut, k b1ff | ircII | censor .SH "DESCRIPTION" All of these programs are filters to do all sorts of strange things to text. -No personal, racial, societal slurs are intended. For amusement only. +No personal, racial, religious or societal slurs are intended. For amusement +only. .P All the filters read input from stdin, change it, and write the filtered text to stdout. @@ -48,6 +49,8 @@ A-la-1984 CDA-ize text .IP nyc Brooklyn English +.IP pirate +Talk like a pirate. .IP rasterman Makes text look like it came from the keyboard of Carsten Haitzler. .IP spammer @@ -69,5 +72,6 @@ cockney, jive, and nyc filters. jibberish is by Raul Miller , jethro is by Duane Paulson , rasterman is by Zachary Beane, ken is by Stephen K Mulrine , newspeak is by Jamie Zawinski -, studly is by Nick Phillips , and -kraut is by John Sparks. +, studly is by Nick Phillips , +G�kan Seng� wrote nethackify, Dougal Campbell + wrote pirate, and kraut is by John Sparks. diff --git a/jibberish b/jibberish index b4f219d..af0ea16 100755 --- a/jibberish +++ b/jibberish @@ -12,6 +12,7 @@ upside-down kraut cockney jive +pirate nyc ken ky00te diff --git a/pirate b/pirate index d35b138..33fe861 100755 --- a/pirate +++ b/pirate @@ -84,8 +84,8 @@ while (@trans_table) { s/ing\b/in'/g; s/ings\b/in's/g; -s/(\.[ \t])/avast($1,3)/eg; -s/([!\?][ \t])/avast($1,2)/eg; # Greater chance after exclamation +s/(\.( |\t|$))/avast($1,3)/eg; +s/([!\?]( \t|$))/avast($1,2)/eg; # Greater chance after exclamation sub avast { my $stub=shift;