> $ df -hl | grep usb > > /dev/sdb1 3,9G 3,9G 96K 100% /media/usb0 > /dev/sdc1 3,8G 4,0K 3,8G 1% /media/usb1 > > Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Not a bug. Your locale uses comma as the decimal separator; if you want '.', then use a different locale. http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021 Try: $ LC_ALL=C df -hl | grep usb to see the difference. -- Eric Blake -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

