UoYWeek C gives the current date string formatted as used by the University of York. For example,
spr/3/wednesday would refer to Wednesday on the 3rd week of Spring term.
This is a reimplementation of Luke Moll's UoYWeek in C rather than C++, full credit goes to him for idea and initial reference code used for this version.
# Clone the repository git clone https://github.com/JMAlego/uoyweek_c.git cd uoyweek_c # To compile make # To install make install
You now have an executable file,
uoyweek. To run it while you're in
uoyweek_c/, just type
If you installed it you should now be able to run
uoyweek from any directory.
You must specify a terms file (defaults to
terms.txt in the current working directory), an example of which can be found in this reposity as
You can also pass it the
--fancy argument to get proper capitalisation, for example
And you can pass it the
--short argument to get a shorter day name, for example