I once used cal as input to another program in the old days when there weren&#x27;t many calendar APIs in C yet.<p>The program produced TeX output so I could print a nice wall calendar (complete with tasks and birthdays).<p>Was kind of klunky, but it worked.