"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/test/dtadd.020.clit" (19 Mar 2019, 251 Bytes) of package /linux/privat/dateutils-0.4.6.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/clitoris  ## -*- shell-script -*-
    2 
    3 $ dadd -S '2012-01-02 02:04:00' -f '%F %T' <<EOF
    4 -40h
    5 -1d2h4m
    6 -1w2d6h3m
    7 1mo 6m
    8 hello
    9 EOF
   10 2011-12-31 10:04:00
   11 2012-01-01 00:00:00
   12 2011-12-23 20:01:00
   13 2012-02-02 02:10:00
   14 hello
   15 $
   16 
   17 ## dtadd.20.clit ends here