On Friday, July 11, 2003, at 09:26 AM, Elizabeth Mattijsen wrote:
Surely the install script can be made smart enough to make [n] the default on Mac OS X?
Even if the test is done in very general terms - i.e. if it were written to look for a case-insensitive filesystem instead of for a specific OS - you'd still need such a system to verify the test. In practical terms, that means testing it on a Mac - I don't know of any other UNIX that uses a case-insensitive filesystem.
Not really wanting to get involved in this debate over again, but really a program should not replace an xisting file with a link by default, so perhaps the test should be if there already exists an HEAD which is not a link (or if they are hardlinks, a HEAD that is not a link to lwp_doit or whatever the real command is, or a weak test, not the same size as lwp_doit which would be close enough), then default to [n]. On the Mac system, HEAD and head are the same so the test would work for this case, and could easily be tested on any other unix system.
Enjoy, Peter.
-- <http://www.interarchy.com/> <http://documentation.interarchy.com/>
