busybox, a popular package on small distros, which provides a lot of
standard unix commands,does much the same thing.

I've seen a similar thing done in a shell program, it was a big case
type statement on $0 ($0 returns the name of the program as typed at the
command line)


On Tue, 2002-08-20 at 17:21, Guy Steven wrote:
> 
> > inapplicable, and vi is almost compulsory). But, its fast, has a great
> 
> vi should be compulsory whatever the OS.
> 
> On the topic of vi, don't you just love the way vi/view/ed etc use hard
> links to dictate the way the program operates. From memory there are 5
> different programs that behave differently, which are in fact just hard
> links to the one executable. The program examines the name by which it was
> called and determines its behaviour.
> 
> 
> 


Reply via email to