dmsenin - 2005-08-16

Logged In: YES
user_id=1330151

For lines 66-68 a '+' with digits after point is lost. The
following works well:
HMS_HOURS=$( echo $1 | sed -r -e
's/0?([0-9]+):0?([0-9]+):0?([0-9]+)(\.[0-9]+)?/\1/' )
HMS_MINS=$( echo $1 | sed -r -e
's/0?([0-9]+):0?([0-9]+):0?([0-9]+)(\.[0-9]+)?/\2/' )
HMS_SECS=$( echo $1 | sed -r -e
's/0?([0-9]+):0?([0-9]+):0?([0-9]+)(\.[0-9]+)?/\3/' )
But I like the following example:
's/^0?([0-9]+):0?([0-9]+):0?([0-9]+)(\.[0-9]+)?.*$/\1/' )