"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/test/dtgrep.013.clit" (19 Mar 2019, 511 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. See also the last Fossies "Diffs" side-by-side code changes report for "dtgrep.013.clit": 0.4.2_vs_0.4.3.

    1 #!/usr/bin/clitoris  ## -*- shell-script -*-
    2 
    3 ## consider input date/times as Europe/Berlin
    4 $ dgrep --from-zone Europe/Berlin '<=11:00:00' <<EOF
    5 2014-02-14T11:00:00  (is 10 UTC)
    6 2014-02-14T12:00:00  (is 11 UTC)
    7 2014-02-14T13:00:00  (is 12 UTC)
    8 2014-04-14T12:00:00  (is 10 UTC)
    9 2014-04-14T13:00:00  (is 11 UTC)
   10 2014-04-14T14:00:00  (is 12 UTC)
   11 EOF
   12 2014-02-14T11:00:00  (is 10 UTC)
   13 2014-02-14T12:00:00  (is 11 UTC)
   14 2014-04-14T12:00:00  (is 10 UTC)
   15 2014-04-14T13:00:00  (is 11 UTC)
   16 $
   17 
   18 ## dtgrep.013.clit ends here