Skip to Content
gnux

--field

Replace the numbers in these input FIELDS (default=1); see FIELDS below.

An option of numfmtx.

Usage

numfmtx --field=FIELDS [NUMBER]...

Details

ShortLongValueDefaultMeaning
--fieldFIELDSreplace the numbers in these input FIELDS (default=1); see FIELDS below

Examples

Make the size column of a listing readable, keeping the header

lsx -l | numfmtx --header --field=5 --to=iec

Convert the second column of a CSV file

numfmtx -d, --field=2 --to=si < sizes.csv

Help in the terminal

gnux help numfmtx --field

On this page