bug#5804: sort --human

2010-04-01 Thread Jim Meyering
Michal Svoboda wrote:
 Drake Wyrm wrote 796 bytes:
 Michal Svoboda p...@spatium.org wrote:
  Bob Proulx wrote 704 bytes:
   ** New features
 sort accepts a new option, --human-numeric-sort (-h): sort numbers
 while honoring human readable suffixes like KiB and MB etc.
 
  Interesting. So does it sort correctly 1 MB  1000 KiB  1 MiB ?

 $ { echo 1MB; echo 1000KiB; echo 1MiB; } | sort -h
 sort: both SI and IEC prefixes present on units

 That would be a no to the sort part, but perhaps a yes to the
 correctly part.

 Ah, this is obviously some strange use of the word *correctly* that
 I wasn't previously aware of.

;-)
Perhaps he meant that it works as documented:

  `-h'
  `--human-numeric-sort'
  `--sort=human-numeric'
   Sort numerically, as per the `--numeric-sort' option below, and in
   addition handle IEC or SI suffixes like MiB, MB etc (*note Block
   size::).  Note a mixture of IEC and SI suffixes is not supported
   and will be flagged as an error.  Also the numbers must be
   abbreviated uniformly.  I.E. values with different precisions like
   6000K and 5M will be sorted incorrectly.







bug#5817: false core util

2010-04-01 Thread phoenix
Hey guys,
I've found a serious error in the program false: If I pipe some text to it
(e.g. echo i lost the game | false), it does not fail but rather returns a
success. Any suggestions? I need this program very much for completing my
thesis on Pseudo-Riemannian manifolds.
It would very kind of you if you'd inform me when the error has been fixed.
(Remark: I am using Ubuntu 9.10.)
Best regards,
Hajo Pei


bug#5817: false core util

2010-04-01 Thread Phillip Susi
On 4/1/2010 7:49 AM, phoenix wrote:
 Hey guys,
 I've found a serious error in the program false: If I pipe some text to it
 (e.g. echo i lost the game | false), it does not fail but rather returns a
 success. Any suggestions? I need this program very much for completing my
 thesis on Pseudo-Riemannian manifolds.
 It would very kind of you if you'd inform me when the error has been fixed.
 (Remark: I am using Ubuntu 9.10.)
 Best regards,
 Hajo Pei

You must be checking it wrong because on Ubuntu 9.10 here it correctly
returns an exit status of 1 for failure.






bug#5817: false core util

2010-04-01 Thread Eric Blake
On 04/01/2010 10:06 AM, Phillip Susi wrote:
 On 4/1/2010 7:49 AM, phoenix wrote:
 Hey guys,
 I've found a serious error in the program false: If I pipe some text to it
 (e.g. echo i lost the game | false), it does not fail but rather returns a
 success. Any suggestions?

What shell are you using?  Typically, false is also a shell builtin, so
maybe your particular shell has a bug.

-- 
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature


bug#5804: sort --human

2010-04-01 Thread Michal Svoboda
Jim Meyering wrote 1206 bytes:
 ;-)
 Perhaps he meant that it works as documented:
 
   `-h'
   `--human-numeric-sort'
   `--sort=human-numeric'
Sort numerically, as per the `--numeric-sort' option below, and in
addition handle IEC or SI suffixes like MiB, MB etc (*note Block
size::).  Note a mixture of IEC and SI suffixes is not supported
and will be flagged as an error.  Also the numbers must be
abbreviated uniformly.  I.E. values with different precisions like
6000K and 5M will be sorted incorrectly.

I see, I wasn't aware of the Note. In that case, it is suitably
described as this will sort whatever the other coreutils give you when
you use -h.

Michal Svoboda 







bug#5820: user switching

2010-04-01 Thread leacr2

 Hi, I have a copy of suse sles9 with the images provided from novell for 
training. When I am logged in as a user and in Konsole, I can not su to root, 
it asks for a password and will not take any input from the keyboard. When I 
went to the help files it said to write to you for issues, so I am writing to 
you. I will also be contacting Novell and see if there is an answer on their 
side. This little problem makes it impossible for me to complete on of the 
exercises for my lab in school. Thank you, Craig Leach