I was busy with writing a shell script on my Linux machine to generate screenshots for liveuamap.com. I needed a way to get the amount of days in a specific month for a specific date. After long search I found ways to do it, one way was to use cal (cal 5 2015 | awk 'NF {DAYS = $NF}; END {print...
How to use awk to get the amount of days of a specific month
H