Epoch is a straightforward C software that presents time in seconds since the Epoch. It is user-friendly and easy to use for simple time display purposes.
Epoch is optimized for efficiency and simplicity. It is particularly useful for Linux systems that support the "%s" option in the date(1) command. This allows for a streamlined version of the normal command. However, hard-core efficiency nuts may prefer the simplicity of Epoch's design.
To use Epoch, you must first compile it by navigating to the Epoch directory and typing "./Build". The cc function is called to construct a binary file named "epoch". Next, you can copy the file to a system-wide directory, such as /usr/local/bin/, and use chmod to grant 0511 permissions to allow all users to access the program.
After this, simply type "epoch" to see the time displayed in seconds. By default, Epoch will display the time followed by a new line. However, if you do not want the new line included, pass any argument to Epoch (e.g. "epoch -n"). It really doesn't matter what you type, so long as there is a space after the command name.
Epoch was created out of necessity. At the time of writing, there were no similar functions under NetBSD 1.5.2. The program was created in just under five minutes, making it a quick and easy solution to the issue. If you find Epoch useful, feel free to use it for free under the GPL license. Otherwise, it can be easily deleted.
Version 1.0: N/A