From a449098de8ded3ebcd4f02c6ba0d31f43fef86a8 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 9 Sep 2011 16:17:33 +0200 Subject: //util/bin/anonbox.net: that sed-foo, again^_^ --- util/bin/anonbox.net | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util') diff --git a/util/bin/anonbox.net b/util/bin/anonbox.net index d038cd0a..3b648afb 100755 --- a/util/bin/anonbox.net +++ b/util/bin/anonbox.net @@ -13,12 +13,12 @@ GET() { ## retrieve data eval "$(${GET-GET} | - sed -rn ' -s^

([[:alnum:]@.]+)

$\ + sed -n ' +s^

\([[:alnum:]@.]\+\)

$\ email="\1" ; p -s^

.*

$\ +s^

.*

$\ uri="\1/" ; p -s^

([0-9]+)/([0-9]+)/([0-9]+) ([0-9]+):([0-9]+) ([ap]).m.

$\ +s^

\([0-9]\+\)/\([0-9]\+\)/\([0-9]\+\) \([0-9]\+\):\([0-9]\+\) \([ap]\).m.

$\ Y=20\3 ; \ m=\1 ; \ d=\2 ; \ -- cgit v1.2.3