RE: Bug in uname

2008-12-08 Thread Walter Coole
Oops, I should have mentioned:

uname --version

uname (GNU coreutils) 6.10

Copyright (C) 2008 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Written by David MacKenzie.

 

Walter

 

From: Walter Coole 
Sent: Monday, December 08, 2008 12:28 PM
To: 'bug-coreutils@gnu.org'
Subject: Bug in uname

 

Uname isn't recognizing the -a option.

 

uname -a

uname: extra operand `-a'

Try `uname --help' for more information.

But

uname --help

Usage: uname [OPTION]...

Print certain system information.  With no OPTION, same as -s.

 

  -a, --allprint all information, in the following
order,

 except omit -p and -i if unknown:

  -s, --kernel-nameprint the kernel name

  -n, --nodename   print the network node hostname

  -r, --kernel-release print the kernel release

  -v, --kernel-version print the kernel version

  -m, --machineprint the machine hardware name

  -p, --processor  print the processor type or "unknown"

  -i, --hardware-platform  print the hardware platform or "unknown"

  -o, --operating-system   print the operating system

  --help display this help and exit

  --version  output version information and exit

 

Report bugs to .

Fortunately, --all works fine.

 

HTH,

Walter Coole

 

Aperio Group, LLC

Three Harbor Drive Suite 315

Sausalito, CA 94965

(415)339-4308 Direct

(415)339-4301 Fax

www.aperiogroup.com

 

Aperio v. [Latin] to make clear, to reveal the truth

The information contained in this e-mail may be privileged and/or
confidential, and is intended only for the use of the person to whom it
is addressed. If you are not the named addressee (or such recipient's
employee or agent), you should not disseminate, distribute, alter or
copy this e-mail. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message, which may arise during or as a result of
e-mail transmission. Communication of any portfolio changes, cash
additions or withdrawals must always be confirmed or verified by verbal
and/or hard copy version. In compliance with regulatory requirements,
all messages sent to or from this server are archived and may be read by
someone other than the recipient. This message is provided for
information purposes and has been obtained from sources which we believe
to be reliable, but we do not guarantee its accuracy or completeness and
it should not be construed as a solicitation or offer to buy or sell any
securities or related financial instruments in any jurisdiction. Aperio
Group LLC provides neither tax nor legal advice to its clients, and all
investors are strongly urged to consult with their legal and tax
advisors regarding any potential investment or strategy.

 

___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Bug in uname

2008-12-08 Thread Walter Coole
Uname isn't recognizing the -a option.

 

uname -a

uname: extra operand `-a'

Try `uname --help' for more information.

But

uname --help

Usage: uname [OPTION]...

Print certain system information.  With no OPTION, same as -s.

 

  -a, --allprint all information, in the following
order,

 except omit -p and -i if unknown:

  -s, --kernel-nameprint the kernel name

  -n, --nodename   print the network node hostname

  -r, --kernel-release print the kernel release

  -v, --kernel-version print the kernel version

  -m, --machineprint the machine hardware name

  -p, --processor  print the processor type or "unknown"

  -i, --hardware-platform  print the hardware platform or "unknown"

  -o, --operating-system   print the operating system

  --help display this help and exit

  --version  output version information and exit

 

Report bugs to .

Fortunately, --all works fine.

 

HTH,

Walter Coole

 

Aperio Group, LLC

Three Harbor Drive Suite 315

Sausalito, CA 94965

(415)339-4308 Direct

(415)339-4301 Fax

www.aperiogroup.com <http://www.aperiogroup.com> 

 

Aperio v. [Latin] to make clear, to reveal the truth

The information contained in this e-mail may be privileged and/or
confidential, and is intended only for the use of the person to whom it
is addressed. If you are not the named addressee (or such recipient's
employee or agent), you should not disseminate, distribute, alter or
copy this e-mail. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message, which may arise during or as a result of
e-mail transmission. Communication of any portfolio changes, cash
additions or withdrawals must always be confirmed or verified by verbal
and/or hard copy version. In compliance with regulatory requirements,
all messages sent to or from this server are archived and may be read by
someone other than the recipient. This message is provided for
information purposes and has been obtained from sources which we believe
to be reliable, but we do not guarantee its accuracy or completeness and
it should not be construed as a solicitation or offer to buy or sell any
securities or related financial instruments in any jurisdiction. Aperio
Group LLC provides neither tax nor legal advice to its clients, and all
investors are strongly urged to consult with their legal and tax
advisors regarding any potential investment or strategy.

 

___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


RE: Bug in uname

2008-12-09 Thread Walter Coole
Thanks for maintaining a less-than-glorious, but useful utility.

I did check to make sure I was getting the expected version of uname:

which uname
/bin/uname

, but attempting to repeat the symptom got proper behavior!??:

uname -a
Linux cloudy 2.6.25-14.fc9.x86_64 #1 SMP Thu May 1 06:06:21 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux

A look at my history shows the command I originally used:
uname -a
uname: extra operand `-a'
Try `uname --help' for more information.

"Oh goody, identical commands, different behavior..."

cat | od -c
uname -a

000   u   n   a   m   e 342 200 223   a  \n  \n
014

It appears that the web page I cut-n-pasted from was rendered using a
UTF8 character (0xE28093) that just happens to look like a hyphen on my
terminal.

Nevermind :-)

Sorry about the .sig; it's the burden that comes of working for a
financial company.
Further sorry about the false alarm.
Walter


-Original Message-
From: Eric Blake [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 7:31 PM
To: Walter Coole
Cc: bug-coreutils@gnu.org
Subject: Re: Bug in uname

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Walter Coole on 12/8/2008 1:28 PM:
> uname -a
> 
> uname: extra operand `-a'

Thanks for the report.  Are you sure you don't have any aliases or shell
functions interfering?  Depending on your shell, 'which uname' or 'type
uname' will tell you.

...


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils