aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sigextract.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-22 02:23:07 +0000
committerTom Feist <shabble@metavore.org>2011-04-22 02:23:07 +0000
commitd974da559601a1c95740a01d72ce2ee91008354e (patch)
tree69216dce0251d74065aa7ccf0aaff20cc82ac1dc /docs/sigextract.pl
parentfeature-tests: looking at ways to read from a DATA fh, and redirect normal (diff)
downloadirssi-scripts-d974da559601a1c95740a01d72ce2ee91008354e.tar.gz
irssi-scripts-d974da559601a1c95740a01d72ce2ee91008354e.zip
removed docs/ from dev branch, since they're all in their own repo (well, wiki)
by now.
Diffstat (limited to 'docs/sigextract.pl')
-rwxr-xr-xdocs/sigextract.pl24
1 files changed, 0 insertions, 24 deletions
diff --git a/docs/sigextract.pl b/docs/sigextract.pl
deleted file mode 100755
index cc6f8bb..0000000
--- a/docs/sigextract.pl
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use warnings;
-
-my $file = shift // 'allsigs.txt';
-
-open my $fh, $file or die "couldn't open $file: $!";
-my $sigs = {};
-
-while (my $line = <$fh>) {
- chomp $line;
- if ($line =~ m/"(\w+(?:\s+\w+)*)"/) {
- #print "Found signal: $1\n";
- $sigs->{$1}++;
- }
-}
-
-close $fh;
-
-my @signals = keys %$sigs;
-
-print join("\n", sort @signals);
-print "\n";