Structs§
- Numfmt
Config - Configuration for the numfmt command.
Enums§
- Invalid
Mode - How to handle invalid input.
- Round
Method - Rounding method.
- Scale
Unit - Unit scale for input/output conversion.
Functions§
- parse_
fields - Parse a field specification string like “1”, “1,3”, “1-5”, or “-”. Returns 1-based field indices.
- parse_
invalid_ mode - Parse an invalid mode string.
- parse_
round_ method - Parse a round method string.
- parse_
scale_ unit - Parse a scale unit string.
- process_
line - Process a single line according to the numfmt configuration.
- run_
numfmt - Run the numfmt command with the given configuration and input.