mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
Fix wc output for bytes
This commit is contained in:
parent
e4b5b8e19c
commit
afabebe432
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ fn print_stats(filename: &str, line_count: uint, word_count: uint, char_count: u
|
|||
print!("{:1$}", word_count, max_str_len);
|
||||
}
|
||||
if matches.opt_present("bytes") {
|
||||
print!("{:1$}", byte_count, max_str_len + 1);
|
||||
print!("{:1$}", byte_count, max_str_len);
|
||||
}
|
||||
if matches.opt_present("chars") {
|
||||
print!("{:1$}", char_count, max_str_len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue