summaryrefslogtreecommitdiff
path: root/localshowkannelsms
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-04 02:29:45 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-04 02:29:45 +0200
commit7f129819411be1341692e45694a45e99e8a1f42f (patch)
tree9a4a1fb286692840f322af8718f97895e357d0a4 /localshowkannelsms
parent966b29c496ef6851496641334f922584633b0a01 (diff)
parentf8322721903e0c049ddd4ee681eb8b9691f56b46 (diff)
Merge coreander:/srv/git/source.jones.dk/sbin
Diffstat (limited to 'localshowkannelsms')
-rwxr-xr-xlocalshowkannelsms2
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