mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Size command: rename max length to bytes (#2473)
Since max length is just getting the byte length, rename to bytes in order to be more clear.
This commit is contained in:
@ -134,7 +134,7 @@ To get the average of the file sizes in a directory, simply pipe the size column
|
||||
```shell
|
||||
> pwd | split row / | size
|
||||
───┬───────┬───────┬───────┬────────────
|
||||
# │ lines │ words │ chars │ max length
|
||||
# │ lines │ words │ chars │ bytes
|
||||
───┼───────┼───────┼───────┼────────────
|
||||
0 │ 0 │ 1 │ 5 │ 5
|
||||
1 │ 0 │ 1 │ 11 │ 11
|
||||
@ -151,7 +151,7 @@ To get the average of the file sizes in a directory, simply pipe the size column
|
||||
lines │ 0
|
||||
words │ 2
|
||||
chars │ 12
|
||||
max length │ 12
|
||||
bytes │ 12
|
||||
────────────┴────
|
||||
```
|
||||
|
||||
@ -161,7 +161,7 @@ To get the average of the file sizes in a directory, simply pipe the size column
|
||||
lines │ 0.0000
|
||||
words │ 1.1666
|
||||
chars │ 8.3333
|
||||
max length │ 8.3333
|
||||
bytes │ 8.3333
|
||||
────────────┴────────
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user