delorie.com/archives/browse.cgi | search |
On Mon, Aug 06, 2001 at 05:53:28PM +0200, Kern Sibbald wrote: >Hello, > >Well, there are quite a few "fields" on the full uname output >line. The most interesting for me as a developer supporting >multiple platforms are: > > 1. Operating System Name (field one -- uname -s) > 2. Operating System Release (field 3 -- uname -r) > >and much less > > 3. Operating System Version (starts in field 4 -- uname -v) > >I think of Cygwin as the Operating System Name and >the dll version (1.3.2) as the Operating System Release. > >The extra information you supply seem to me best in the Operating >System Version field. So, instead of: > > CYGWIN_98-4.10 MINIMATOU 1.3.2(0.39/3/2) 2001-05-20 23:28 i586 >unknown > >I would suggest something like: > > CYGWIN MINIMATOU 1.3.2 (0.39/3/2)-Win98-4.10 2001-05-20 23:28 i586 >unknown > >so uname -s would print CYGWIN > uname -r 1.3.2 > uname -v (0.39/3/2)-Win98-4.10 2001-05-20 23:28 Take a look at the utsname structure. This obviously won't work. Just use wildcards in if the extra information after the CYGWIN offends you. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |