aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sigextract.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-01-08 20:00:20 +0000
committerTom Feist <shabble@metavore.org>2011-01-08 20:00:20 +0000
commit8d4fe58ee09b7f5d00ee0c1a6e122a1bcff7ca4e (patch)
tree953fd2f06c31f9c6e9708dabca5dcc8990b36d68 /docs/sigextract.pl
parentMerge branch 'tab_completion' (diff)
downloadirssi-scripts-8d4fe58ee09b7f5d00ee0c1a6e122a1bcff7ca4e.tar.gz
irssi-scripts-8d4fe58ee09b7f5d00ee0c1a6e122a1bcff7ca4e.zip
moved docs/ to https://github.com/shabble/irssi-docs
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";