DragonFly bugs List (threaded) for 2005-07
Re: uname output
On Sun, Jul 31, 2005 at 12:29:43AM +0100, Liam J. Foy wrote:
>On Sat(30)/Jul/05 - , George Georgalis wrote:
>> I'm porting some scripts to work under BSD. In some cases I need to test
>> the OS they are running on; the other mainline BSDs have 'BSD' in their
>> 'uname' output, but dfly reads 'DragonFly' would it be reasonable to
>> change it to DragonFlyBSD? Or maybe there is a better way to check?
>Can you not just test for 'DragonFly' ?
It's not really a problem, just a subtlety that may not be desireable.
case "`uname`" in
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@xxxxxxxxx