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


Message #10 received at 7938-done <at> debbugs.gnu.org (full text, mbox):

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.




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

Previous Next


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