News for hackers. Stuff that matters.
Re:The most surprising Unix programs by tangue on Sunday March 15, 2020 @07:47AM (#22582901)
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
Re:The most surprising Unix programs by hinkley on Sunday March 15, 2020 @12:21PM (#22584246)
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.

Re:The most surprising Unix programs by dotancohen on Sunday March 15, 2020 @08:28PM (#22588346)
How have I been googling ASCII codes for two decades with this right under my fingertips?!? Thank you!
Re:The most surprising Unix programs by aasasd on Sunday March 15, 2020 @08:47AM (#22583169)
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.
Re:The most surprising Unix programs by butterthebuddha on Sunday March 15, 2020 @09:27AM (#22583359)
I would like to invite you to share your setup.
Re:The most surprising Unix programs by mekster on Sunday March 15, 2020 @10:16PM (#22589094)
You might like gcal better as it can show holidays too.

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

Re:The most surprising Unix programs by pvaldes on Sunday March 15, 2020 @03:47PM (#22586105)
or cal -3 -m 3 2020
Re:The most surprising Unix programs by ja27 on Sunday March 15, 2020 @10:40PM (#22589248)
or cal -3 -m 9 1752
Re:The most surprising Unix programs by myroon5 on Wednesday March 18, 2020 @12:53AM (#22613758)
3–13 September were skipped when the British Empire adopted the Gregorian calendar

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