A simple bash script that generates a monthly printout calendar template to be used between an employer and employee
This repository has been archived on 2021-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
frnmst/Franco Masotti 9f638e4fd4 Added files. 2017-01-13 20:09:39 +01:00
LICENSE Added files. 2017-01-13 20:09:39 +01:00
README.md Added files. 2017-01-13 20:09:39 +01:00
configrc Added files. 2017-01-13 20:09:39 +01:00
monthly_attendace_paper.sh Added files. 2017-01-13 20:09:39 +01:00

README.md

monthly-attendance-paper

A simple bash script that generates a monthly printout calendar template to be used between an employer and employee.

Dependencies

All of them should be already installed in your system:

Optionally, to print the template:

or whatever printing system is able to print from the standard input

Configuration

Edit configrc based on your needs. variable names are self-explanatory.

Important variables are:

this_month
this_year
employer
employee

as well as the days of the week, which you can translate in your language.

You can also edit the date formats in the following functions:

get_full_string()
print_day()

Running

$ ./monthly_attendace_paper.sh

Printing

$ ./monthly_attendace_paper.sh | lpr

Warning

This script does not check any input nor output for errors. That's up to you.

License

CC0.