[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Man-pages

From: Nicola Pero
Subject: Re: Man-pages
Date: Tue, 11 Dec 2007 14:39:53 +0100 (CET)

> [...] maybe it would even be better to make both the Tools and the 
> man-pages a symbolic link. Then openapp can act as openapp when it is 
> called as debugapp. If you check on $0 in openapp you know if it is 
> called as debugapp or openapp.

That's a good idea - in fact it's a great idea on platforms that have symlinks 

The reason the current implementation is different is that some platforms
don't have symlinks ;-)

The current implementation gets almost exactly the same result but without using
symlinks - it uses a tiny wrapper script instead, so it is more portable.  If 
look at the 'debugapp' script you'll immediately see what I mean.  It's 
a few milliseconds slower than symlinks (if available) but if you really need 
these milliseconds you can always use 'openapp --debug' to skip the wrapper 
Most people won't notice any difference. ;-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]