CAL(1plan9)
π CAL(1plan9) β or, bestie, let's print a calendar π
okay so this is the page for cal from the plan9 manual, section 1 (that's the "general commands" girlies, iykyk). It's short, it's sweet, it's iconic, and it does exactly one thing: it prints you a calendar. Periodt. ποΈβ¨
πΈ NAME πΈ
cal β print calendar π
π¦ SYNOPSIS π¦
cal [ month ] [ year ]
β DESCRIPTION β
Cal prints a calendar. That's the whole vibe. π«Ά
Month can be any one of these three things:
- a number from
1to12, - a lower case month name (like
september), - or a lower case three-letter prefix of a month name (like
sep).
Not me needing you to know: it's lower case specifically. The manpage said lower case and I am simply relaying the facts, no cap. π
Year can be anywhere between 1 and 9999.
Here's the rules for when you leave stuff out, bestie, pay attention:
- If either month or year is omitted, the current month or current year is used instead.
- If you give it only one argument, and that argument is a number larger than 12, you get a calendar for all twelve months of that given year. π
- Otherwise, you just get a calendar for one month. That's it, that's the deal. β¨
And the calendar it produces is the one for England and her colonies. π¬π§ ngl, that's a whole specific choice, but it's the choice. π
Ooh and try this, fr fr:
cal sep 1752
go on. do it. I'll wait. ππ
π SOURCE π
/src/cmd/cal.c
π BUGS π
okay so, two things, and I'm being so serious:
- The year is always considered to start in
January, even though this is historically naive. Like, the code said "January is month one, forever, I don't care," and honestly? mood. But it is a bug note, so I'm telling you. π - Beware that refers to the early Christian era, not the 20th century. β οΈ
read those twice, bestie, they're caveats, not decoration. π
π«Ά SEE ALSO π«Ά
(nothing listed here, bestie β this one's a lone wolf πΊ)
and that's the whole page!! πβ¨ you understood it, you slayed it, go print a calendar for September 1752 and text me what you see π
sign-off time π: this was CAL(1plan9) from the plan9 manual, section 1 β that's the manual name and the page tag, both living in the header and the footer of the original, and I'm folding them in here so nothing goes missing. bye bestie, drink water ππ¦πΈ
π¦ where this page comes from
- debian bookworm: 9base 1:6-13 Β· Lucent
- debian trixie: 9base 1:6-14 Β· Lucent
- ubuntu jammy: 9base 1:6-11 Β· Lucent
- ubuntu noble: 9base 1:6-14 Β· Lucent
- ubuntu questing: 9base 1:6-15
- ubuntu resolute: 9base 1:6-15build1 Β· Lucent
- ubuntu stonking: 9base 1:6-15build1 Β· Lucent
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms