Re: [PATCH 01/40] lib/string_helpers: Drop space in string_get_size's output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 01 May 2023, Suren Baghdasaryan wrote:

From: Kent Overstreet <kent.overstreet@xxxxxxxxx>

Previously, string_get_size() outputted a space between the number and
the units, i.e.
 9.88 MiB

This changes it to
 9.88MiB

which allows it to be parsed correctly by the 'sort -h' command.

Wouldn't this break users that already parse it the current way?

Thanks,
Davidlohr



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux