coreutils/src/uu/truncate
Jeffrey Finkelstein 544ae87575 truncate: add parse_mode_and_size() helper func
Add a helper function to contain the code for parsing the size and the
modifier symbol, if any. This commit also changes the `TruncateMode`
enum so that the parameter for each "mode" is stored along with the
enumeration value. This is because the parameter has a different meaning
in each mode.
2021-05-22 23:53:59 -04:00
..
src truncate: add parse_mode_and_size() helper func 2021-05-22 23:53:59 -04:00
Cargo.toml new release 0.0.6 to address the cat issue 2021-04-03 16:06:58 +02:00