diff options
author | root <root@hello.jones.dk> | 2010-06-02 22:46:22 +0200 |
---|---|---|
committer | root <root@hello.jones.dk> | 2010-06-02 22:46:22 +0200 |
commit | f2962c6ceebee1c1684fb53f81bd8f645c449b88 (patch) | |
tree | 5fd17929a8d72c82ce7cc56f024f851c104c98d1 /localshowkannelsms | |
parent | 9ba87a65cdf1d5d4b79e4dde0d471fcf4b99182b (diff) |
Avoid hardcoded phone numbers in localshowkannelsms.
Diffstat (limited to 'localshowkannelsms')
-rwxr-xr-x | localshowkannelsms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localshowkannelsms b/localshowkannelsms index 437b72b..46c04bd 100755 --- a/localshowkannelsms +++ b/localshowkannelsms @@ -17,6 +17,6 @@ lslogfiles() { } #lslogfiles | xargs zcat -f | perl -ne '/^(\S+ +\S+) .*Starting to service <(.*)> from <.*> to <\+4530959593>$/ and print "$1 $2\n"; /^\S+ (\S+) .*sendsms sender:<\S+:\+4530959593> .*msg:<(.*?)>?$/ and print " $1 $2\n"; /^(...................)(?<!\d\d\d\d\-\d\d\-\d\d \d\d:\d\d:\d\d)(.*?)>?$/ and print " $1$2\n"' -lslogfiles | xargs zcat -f | perl -ne '/^(\S+ +\S+) .*Starting to service <(.*)> from <.*> to <\+4530640636>$/ and print "$1 $2\n"; /^\S+ (\S+) .*sendsms sender:<\S+:\+4530959593> .*msg:<(.*?)>?$/ and print " $1 $2\n"; /^(...................)(?<!\d\d\d\d\-\d\d\-\d\d \d\d:\d\d:\d\d)(.*?)>?$/ and print " $1$2\n"' +lslogfiles | xargs zcat -f | perl -ne '/^(\S+ +\S+) .*Starting to service <(.*)> from <.*> to / and print "$1 $2\n"; /^\S+ (\S+) .*sendsms sender:<\S+:.*msg:<(.*?)>?$/ and print " $1 $2\n"; /^(...................)(?<!\d\d\d\d\-\d\d\-\d\d \d\d:\d\d:\d\d)(.*?)>?$/ and print " $1$2\n"' exit 0 |