From ff5f01bbea263ccf89ef45727bb25b2639b045a5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Feb 2009 13:45:27 +0100 Subject: localshowuserfromip: Document options in header. --- localshowuserfromip | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'localshowuserfromip') diff --git a/localshowuserfromip b/localshowuserfromip index cfd5d05..3b773ea 100755 --- a/localshowuserfromip +++ b/localshowuserfromip @@ -7,9 +7,20 @@ # # List recent identifiable users from some IP address # +#searchstring="$1" +#egrep_before="$2" +#egrep_after="$3" +#sed_shortline="${4:-$sed_longline}" +#sed_msgid="$5" +#sed_qid="$6" +#sed_username="$7" +#sed_longline="${8:-s/^\(.\{15\}\) [^:]*: /\1 /}" +# +# TODO: Find multiple kinds of entries - like this one too: +# 9FC17B802: client=084202203102.customer.alfanett.no[84.202.203.102], sasl_method=PLAIN, sasl_username=kr +# set -e - localshowlogentries "$1" \ 'dovecot: .*: Login: .*, rip=(' \ '), lip=' \ -- cgit v1.2.3