Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Display week numbers on 'cal' calendars through 'ncal'' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Display week numbers on 'cal' calendars through 'ncal'
Authored by: ctwise on Wed, May 7 2008 at 7:56AM PDT
This is a common Unix practice, making a command work differently based on what the name is. This happens over time when two different commands that do almost the same thing gain widespread usage. Eventually someone decides to unify them but want old scripts to still work. They came up with a hack that lets one single program do everything but look like two entirely different programs. The poster child of this is the BusyBox utility which is used in embedded applications, e.g., a phone or router. One application acts like dozens of different utilities to save on space and memory. It's so easy and cost-free to do symbolic links in Unix that there's no real down side to the practice.

[ Reply to This | # ]