On 10/20/06, Grobian <[EMAIL PROTECTED]> wrote:
On 20-10-2006 14:22:22 -0600, m h wrote:
> >Maybe you're just not familiar with a trick that used to be used a lot?
> >sendmail, vim, and many more applications just install hardlinks to the
> >same binary. Within the binary the program just looks at what its name
> >is (argv[0]) and changes it's behaviour on that. A typical example
> >nowadays is grep which also installs an egrep. It is one and the same
> >program, but when invoked as egrep the -E flag is just switched on.
>
> Nope not too familiar with vim or sendmail. Interesting way of
> providing backward compatibility...
Well, this is just UNIX history I guess. :)
Perhaps, though I don't recall running accross it while reading "Xen
and the art of unix programming". But at least I've learned something
new today. ;)
--
[EMAIL PROTECTED] mailing list