Commit graph

7 commits

Author SHA1 Message Date
kwantam
feee266b20 fix/rewrite unexpand and its tests
This is a reworked version of unexpand. I did this for two main
reasons:

1. The previous version of unexpand had issues correctly computing
   tabstops when the `-a` flag was supplied.

2. The previous version assumed the input was UTF-8. This version works
   with non-UTF-8 inputs.

3. This version has a new flag, -U, which forces unexpand to
   treat input as 8-bit ASCII rather than interpreting it
   as UTF-8. This might be handy in some cases.
2015-04-29 01:09:27 -04:00
Michael Gehring
d187dc574b std::io -> std::old_io 2015-01-29 08:45:37 +01:00
Michael Gehring
4d6cbfa393 Disable unstable warnings for now 2015-01-10 20:44:56 +01:00
Michael Gehring
52ea352ca3 test/{seq,tr,truncate,unexpand}: fix build 2014-11-20 20:46:45 +01:00
Michael Gehring
3244416b19 fail! -> panic! 2014-10-30 10:06:47 +01:00
Arcterus
01c2a0b9ff Remove all warnings (at least on Linux) 2014-09-16 20:08:40 -07:00
Virgile Andreani
49a733a864 Implement unexpand 2014-07-28 19:36:33 +02:00