1
Fork 0
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:
polyphemus 2014-06-12 23:04:01 +02:00
parent 2ab586459b
commit 8b1ff08bd5
3 changed files with 196 additions and 130 deletions

View file

@ -13,6 +13,7 @@ PROGS := \
cksum \
comm \
cp \
cut \
dirname \
echo \
env \