README
1== WHAT IS currtime? ==
2
3currtime is an enhanced command-line operated real time clock.
4
5== FEATURES ==
6
7 * Time displayed in Unix-compatible format
8 * Shows the current time on the same line
9 * Can run for a specified number of ticks (seconds) with the -T (ticks) flag
10 * Suffixes for the -T option: 'M', 'H', and 'D' to run currtime for a
11 specified number of minutes, hours, or days respectively
12 * LIMITATION: Only one suffix can be used at runtime
13 * Option to display each tick on a new line with the -n flag
14 * Ability to display a tick number preceding a tick with the -t flag
15 * Option to execute program after -T ticks with the -e flag
16
17== GETTING STARTED ==
18
19If you obtained currtime from a package provided by a Linux distribution like
20Ubuntu, or a non-Linux based operating system such as FreeBSD, you probably
21have already installed currtime. If so, you can just type in "currtime" in a
22shell prompt to run currtime, and press CTRL-C or CTRL-Z to exit currtime and
23return to the shell.
24
25Otherwise, you'd have to compile currtime yourself. In order to do this, you
26need a Unix-like operating system and a C compiler. If you have both, then
27you'd need to download and extract the currtime source code, and then you can
28just run this at your shell prompt:
29
30 $ make
31
32From there, if you just want to run currtime without installing it, then try
33this (provided you're in the same directory you ran "make" in):
34
35 $ ./currtime
36
37If you want to install it officially, you can run one of the following:
38
39 ( if sudo is used to gain superuser/root privileges )
40 $ sudo make install
41 --OR--
42 ( if su is used to gain superuser/root privileges )
43 $ su
44 # make install
45 --OR--
46 ( if logged in as root )
47 $ make install
48
49Keep in mind that currtime installs into /usr/local/bin by default. This can be
50overrided by changing the Makefile.
51
52After you installed currtime, you can run currtime by just running this:
53
54 $ currtime
55
56To view the help information, you can run this:
57
58 $ currtime -h
59
60== WINDOWS USERS ==
61
62Right now, I have not tested currtime on Windows, and therefore, currtime may
63or may not work on Windows. Keep in mind that this may change in the future.
64
65== COPYRIGHT ==
66
67currtime is written by Neel Chauhan <neel (AT) neelc (DOT) org> and is licensed
68under the Simplified BSD License. A copy of this license is located in the file
69"LICENSE".
70