"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/test/dtround.021.clit" (19 Mar 2019, 462 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 $ dround /2mo <<EOF
    4 2019-01-01
    5 2019-01-31
    6 2019-01-31T10:20:00
    7 2019-02-28T23:50:00
    8 2019-12-31T00:00:00
    9 EOF
   10 2019-01-01
   11 2019-03-01
   12 2019-03-01T00:00:00
   13 2019-03-01T00:00:00
   14 2020-01-01T00:00:00
   15 $ dround --next /3mo <<EOF
   16 2019-01-01
   17 2019-01-31
   18 2019-01-31T10:20:00
   19 2019-02-28T23:50:00
   20 2019-12-31T00:00:00
   21 EOF
   22 2019-04-01
   23 2019-04-01
   24 2019-04-01T00:00:00
   25 2019-04-01T00:00:00
   26 2020-01-01T00:00:00
   27 $
   28 
   29 ## dtround.021.clit ends here