git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: no "uname -o" on Mac OSX

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Oct 9, 2005, 19:31 UTC
Message-ID
<864q7qlc77.fsf@blue.stonehenge.com>
In-Reply-To
<7voe5yebjv.fsf@assigned-by-dhcp.cox.net>
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
Junio> Peter, I noticed the same on Solaris recently.

Junio> The following seems to work but is quite yucky, and I prefer Junio> somebody to come up with a better alternative.

How about a chain of elsif's?
Doesn't make support that?
I mean, when you know it's Darwin, no point in checking if it's OpenBSD. :)
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “no "uname -o" on Mac OSX”
  1. Randal L. SchwartzOct 9, 2005
  2. Junio C HamanoOct 9, 2005
  3. Randal L. SchwartzOct 9, 2005
  4. Junio C HamanoOct 9, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.