1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

fold: variable width tabs, guard treating tab as whitespace

Treat tab chars as advancing to the next tab stop rather than having a fixed
8-column width.

Also treat tab as a whitespace split target only when splitting on word
boundaries.
This commit is contained in:
Daniel Rocco 2021-04-05 00:16:21 -04:00
parent bd8b129d9a
commit e5c61a28be
5 changed files with 114 additions and 4 deletions

View file

@ -0,0 +1,18 @@
1
12
123
1234
12345
123456
1234567
12345678
12345678
1
12345678
2
12345678
2
4