Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lindig/ocaml-ago
Command line tool that computes the difference between two calendar dates. Implemented in OCaml
https://github.com/lindig/ocaml-ago
Last synced: 4 days ago
JSON representation
Command line tool that computes the difference between two calendar dates. Implemented in OCaml
- Host: GitHub
- URL: https://github.com/lindig/ocaml-ago
- Owner: lindig
- License: bsd-3-clause
- Created: 2015-01-02T17:41:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-01-03T14:10:31.000Z (almost 3 years ago)
- Last Synced: 2023-03-25T00:23:14.913Z (over 1 year ago)
- Language: OCaml
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# README
Ago is a small command line utility to compute the number of days between
two calendar dates. If just one date is given, the current date is assumed
for the second one.$ ago 2014-12-10
-123$ ago 2014-10-11 2014-12-04
-54
# InstallationI recommend to compile and install ago via Opam, the OCaml packaging
manager:opam install ago
This installs a binary and a manual page which you can read as usual with
`man ago`. Please note that the version on Opam might be slightly behind
this repository.# Building
Ago is implemented in OCaml. It does not rely on libraries outside
of the standard library and was developed with OCaml 4.02.1.dune build
# Documentation
The ago utility comes with a Unix manual part which is installed by the
install target. It is built from ago.pod in the repository.# License
BSD License. See [LICENSE.md](LICENSE.md).
# Author
Christian Lindig
# Opam Description
ago(1) - compute the number of days between two calendar dates
Ago computes the difference in days between two calendar dates provided
as arguments. If just one date is given, the current date is taken as
the second one.