Looking for the latest version? Download yest-2.7.0.6.tgz (17.1 kB)
Home / yest / 2.7.0.6
Name Modified Size Downloads / Week Status
Parent folder
Totals: 4 Items   78.5 kB 5
yest-2.7.0.6.tgz 2012-09-03 17.1 kB 22 weekly downloads
yest-2.7.0.6.man1 2012-09-03 8.6 kB 11 weekly downloads
yest-2.7.0.6.c 2012-09-03 50.8 kB 11 weekly downloads
README-2.7.0.6 2012-09-03 2.0 kB 11 weekly downloads
YEST 2.7 RELEASE - README Features: This is called "yest" because the default is to output yesterday´s date. This utility knows about leap year, daylight savings time, and such variations. This utility adds or subtracts days, hours, and/or minutes from a given date, and outputs the result in the specified format. The default, if no adjustment is specified, is "-1d" (subtract one day). Yest supports most date(1) format codes as well as a few of its own. Particularly interesting is the "%L" (last day of the month) token. Finding the last day of the month has always been a problem in Unices. Installation: (Use the correct version number for the version you are installing) o If you downloaded the tar file, untar the source code: $ tar -xvzf yest-2.7.0.6.tgz o To compile: $ su - run: # gcc -o /usr/local/bin/yest yest-2.7.0.6.c or # cc -o /usr/local/bin/yest yest-2.7.0.6.c Under Sun OS: # gcc -DSUNOS -o /usr/local/bin/yest yest-2.7.0.6.c o Move the man page to an appropriate location, such as: # cp yest-2.7.0.6.man1 yest.1 # gzip yest.1 # cp yest.1.gz /usr/share/man/man1/ 2.7.n.n Changes: o Corrected %Lth bug. Corrected segmentation fault. o Corrected %j bug. Displayed 1 less than correct value. o Supports a new option "--timezone", which may be used to specify a different timezone for the output date than your local one. o Now uses the YEST_REGION_US define to simplify compilation in non-US regions. If YEST_REGION_US is defined, the program will default to "US" if the LANG environmental variable is undefined. Remove the "#define YEST_REGION_US" line to reverse the default action. o The program now compiles cleanly with the following compile command: gcc -Wall -Wpointer-arith -Wstrict-prototypes --pedantic \ -o yest yest.c o Fixed bug when the LANG variable is not set. o Now supports the date "%^x" construction for uppercasing strings. o Now compiles cleanly under Sun OS 5.8 Generic.
Source: README-2.7.0.6, updated 2012-09-03