From f2962c6ceebee1c1684fb53f81bd8f645c449b88 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 2 Jun 2010 22:46:22 +0200 Subject: Avoid hardcoded phone numbers in localshowkannelsms. --- localshowkannelsms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localshowkannelsms') 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"; /^(...................)(??$/ 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"; /^(...................)(??$/ 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"; /^(...................)(??$/ and print " $1$2\n"' exit 0 -- cgit v1.2.3