mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Add cut_characters implementation, based on cut_bytes
This implementation uses rust's concept of characters and fails if the input isn't valid utf-8. GNU cut implements '--characters' as an alias for '--bytes' and thus has different semantics, for this option, from this implemtation.
This commit is contained in:
parent
2ab586459b
commit
8b1ff08bd5
3 changed files with 196 additions and 130 deletions
1
Makefile
1
Makefile
|
@ -13,6 +13,7 @@ PROGS := \
|
|||
cksum \
|
||||
comm \
|
||||
cp \
|
||||
cut \
|
||||
dirname \
|
||||
echo \
|
||||
env \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue