An open API service indexing awesome lists of open source software.

https://github.com/codebox/timeadd

Command-line utility for performing time arithmetic
https://github.com/codebox/timeadd

Last synced: 9 months ago
JSON representation

Command-line utility for performing time arithmetic

Awesome Lists containing this project

README

          

timeadd
=======

A simple command-line utility for performing time arithmetic.

The utility expects two arguments:

* a string containing a time, formatted as follows: HH:MM:SS
* an integer number of seconds to add to the specified time (the value can be either positive or negative)

The utility prints the resulting time to stdout. Examples:


timeadd 00:23:49 15
> 00:24:04

timeadd 00:10:00 -605
> -00:00:05