Ryan Schmidt dixit:
>Oh, I see now, yes, hwprefs does exist on older Mac OS X systems. But
>a survey of my systems says it only existed on Intel Macs running Mac
>OS X 10.4, 10.5, and 10.6 -- not later Intel systems, and not earlier
>PowerPC systems -- so it's not terribly portable.
Right – I used what I got my hands on.
>version or CPU, so I'd use that instead. I don't know a command to
In addition to, not instead. mksh is, by intent, portable to many many
old OSes.
>The OS version is important, as is knowing what compiler was used,
>which you can get with "$CC -v". (Depending on the version of OS X and
Right, but that’s a separate part in the code.
>You might also care to know what version of sh is being used, since
>your build script depends on it.
Yes, but the script does not know with which shell it was invoked.
Could even be the previous /sw/bin/mksh from the last time it was
built… outputting the shell used in a script and then continuing
with it is *hard*. (Most of the shell detection code is invalid
syntax in other shells, so my shell detection script uses 'exit'
as soon as possible, per shell.)
>> ah, that reminds me, thanks for the stellar entertainment that you and
>> certain
[…]
>Must be a different person! I'm not on any Debian lists.
No, that’s just one of my eMail signatures – it was behind sigdashes.
Sorry if it confused you.
bye,
//mirabilos
--
<theftf> Ich gebs zu, jupp ist cool
-- theftf zu Natureshadow beim Fixen von Debian