GNU bug report logs - #7938
uname --version BUG

Previous Next

Package: coreutils;

Reported by: Karan Dhindsa <kdhindsa <at> berkeley.edu>

Date: Sat, 29 Jan 2011 23:41:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Karan Dhindsa <kdhindsa <at> berkeley.edu>
Subject: bug#7938: closed (Re: bug#7938: uname --version      BUG)
Date: Sun, 30 Jan 2011 17:15:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7938: uname --version      BUG

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7938 <at> debbugs.gnu.org.

-- 
7938: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7938
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Karan Dhindsa <kdhindsa <at> berkeley.edu>
Cc: 7938-done <at> debbugs.gnu.org
Subject: Re: bug#7938: uname --version      BUG
Date: Sun, 30 Jan 2011 09:22:28 -0800
On 01/29/2011 03:25 PM, Karan Dhindsa wrote:
> When I type the command:
>> uname --version
> 
> it says "illegal option -- version".

Check your $PATH.  I expect you're running the Solaris 'uname',
not coreutils 'uname'.  On my Solaris 10 host:

$ /usr/bin/uname --version
/usr/bin/uname: illegal option -- version
usage:  uname [-snrvmapiX]
        uname [-S system_name]
$ /opt/sfw/bin/uname --version
uname (GNU coreutils) 5.93
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.

[Message part 3 (message/rfc822, inline)]
From: Karan Dhindsa <kdhindsa <at> berkeley.edu>
To: bug-coreutils <at> gnu.org
Subject: uname --version      BUG
Date: Sat, 29 Jan 2011 15:25:54 -0800
[Message part 4 (text/plain, inline)]
Hi,
When I type the command:
> uname --version

it says "illegal option -- version". Notice in the error message there 
is a space between "--" and "version" but in actual command its not. The 
error message is different if I deliberately put a space between the two 
and execute it.
I am using SunOS, kernel version Generic_144488-05

Thanks

Karan
[Message part 5 (text/html, inline)]

This bug report was last modified 14 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.