Bump Standards-Version
[filters.git] / jibberish
old mode 100644 (file)
new mode 100755 (executable)
index 9271ef2..af0ea16
--- a/jibberish
+++ b/jibberish
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# jibberish -- run all filters in random order
+# jibberish -- run filters in random order
 
 $ENV{PATH}.=":/usr/games";
 
@@ -12,23 +12,17 @@ upside-down
 kraut
 cockney
 jive
+pirate
 nyc
 ken
 ky00te
 rasterman
-);
-
-@nonfree= qw(
 newspeak
+studly
+censor
+spammer
 );
 
-# Test to see if non-free filters are here, if so, add them to @all.
-foreach (@nonfree) {
-       if (-x "/usr/games/$_") {
-               push @all, $_;
-       }
-}
-
 # shuffle order
 srand;
 for (0..$#all) {
@@ -39,9 +33,9 @@ for (0..$#all) {
 }
 
 # start the pipe...
-my $pipe= join '|', @all;
+my $pipe= join '|', @all[0..3 + rand(5)];
 open FILTER, "$pipe|"
-       or die ""Never mind...\n";;
+       or die "Never mind...\n";
 
 # display the results
 while (<FILTER>) {
This page took 0.010045 seconds and 4 git commands to generate.