mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
numfmt: implement --field
This commit is contained in:
parent
200310be18
commit
0e02607dc7
8 changed files with 238 additions and 61 deletions
8
tests/fixtures/numfmt/df_expected.txt
vendored
Normal file
8
tests/fixtures/numfmt/df_expected.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
Filesystem 1B-blocks Used Available Use% Mounted on
|
||||
udev 8.2G 0 8.2G 0% /dev
|
||||
tmpfs 1.7G 2.1M 1.7G 1% /run
|
||||
/dev/nvme0n1p2 1.1T 433G 523G 46% /
|
||||
tmpfs 8.3G 145M 8.1G 2% /dev/shm
|
||||
tmpfs 5.3M 4.1K 5.3M 1% /run/lock
|
||||
tmpfs 8.3G 0 8.3G 0% /sys/fs/cgroup
|
||||
/dev/nvme0n1p1 536M 8.2M 528M 2% /boot/efi
|
8
tests/fixtures/numfmt/df_input.txt
vendored
Normal file
8
tests/fixtures/numfmt/df_input.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
Filesystem 1B-blocks Used Available Use% Mounted on
|
||||
udev 8192688128 0 8192688128 0% /dev
|
||||
tmpfs 1643331584 2015232 1641316352 1% /run
|
||||
/dev/nvme0n1p2 1006530654208 432716689408 522613624832 46% /
|
||||
tmpfs 8216649728 144437248 8072212480 2% /dev/shm
|
||||
tmpfs 5242880 4096 5238784 1% /run/lock
|
||||
tmpfs 8216649728 0 8216649728 0% /sys/fs/cgroup
|
||||
/dev/nvme0n1p1 535805952 8175616 527630336 2% /boot/efi
|
Loading…
Add table
Add a link
Reference in a new issue