scripts/functions
changeset 2383 bb6e2df2427f
parent 2382 cbd07f3dd6e3
child 2388 f97f88662587
     1.1 --- a/scripts/functions	Thu Apr 07 11:52:23 2011 +0200
     1.2 +++ b/scripts/functions	Fri Apr 08 00:02:44 2011 +0200
     1.3 @@ -250,7 +250,7 @@
     1.4  # to the highest entire second
     1.5  # Usage: CT_DoDate <fmt>
     1.6  CT_DoDate() {
     1.7 -    date "$1" |sed -r -e 's/N$/000000000/;'
     1.8 +    date "$1" |sed -r -e 's/%?N$/000000000/;'
     1.9  }
    1.10  
    1.11  CT_STEP_COUNT=1