News for hackers. Stuff that matters.
Re:A prog by any other name by skykooler on Thursday April 28, 2016 @01:18PM (#11590440)
Sometimes this is used for other purposes, as well. For instance, the busybox binary provides a lot of utilities (cp, init, ping etc) all linked to /bin/busybox, which uses the name it is called under to determine which program to run.
Re:A prog by any other name by amelius on Thursday April 28, 2016 @03:24PM (#11591313)
The GNU mtools also used this scheme. So the idea goes back pretty far.

(Mtools is a collection of tools to allow Unix systems to manipulate MS-DOS files: read, write, and move around files on an MS-DOS filesystem, typically a floppy disk.)

Re:A prog by any other name by tobik on Thursday April 28, 2016 @01:34PM (#11590549)
egrep, fgrep, grep (+ z* variants) share the same binary too.
Re:A prog by any other name by Tiksi on Thursday April 28, 2016 @05:53PM (#11592189)
These are all deprecated by the way. I just alias them now since egrep is muscle memory and hard to break.