"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/test/dround.031.clit" (19 Mar 2019, 237 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 $ echo '2016-01-01 12:12:12' | dround -i '%F %T' /15s
    4 2016-01-01T12:12:15
    5 $ echo '2016-01-01 12:12:12' | dconv -f '%s' | dround -i %s /15s
    6 2016-01-01T12:12:15
    7 $
    8 
    9 ## dround.031.clit ends here