Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't knew about typo. One surprising unix program I discovered this year is cal (or ncal). Having a calendar in your terminal is sometimes useful and I wish I knew earlier I could type things like ncal -w 2020


A similarly flavored one I’ve always appreciated is the man page for ascii, which shows the octal, decimal, and hex values for each character in the ASCII space.

Most unixes have one, although the format differs.


How have I been googling ASCII codes for two decades with this right under my fingertips?!? Thank you!


Personally I prefer using the Mac app Alfred for things like that—basically a graphical one-shot terminal with autocompletion for a bunch of frequently-used stuff, in the vein of Spotlight. I whipped me up a script in Lua just so the calendar is faster than a readymade one in Python. However, Alfred needs to be bent somewhat to output content like a calendar in its suggestions.


I would like to invite you to share your setup.


You might like gcal better as it can show holidays too.

https://unix.stackexchange.com/questions/164555/how-to-empha...


or cal -3 -m 3 2020


or cal -3 -m 9 1752


3–13 September were skipped when the British Empire adopted the Gregorian calendar

https://en.wikipedia.org/wiki/1752




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: