bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29606: Command 'fold' dangerous with utf-8 input


From: Mark Roberts
Subject: bug#29606: Command 'fold' dangerous with utf-8 input
Date: Sat, 9 Dec 2017 14:22:41 +0100 (CET)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

Dear Assaf,

I agree that once multibyte support is added to fold(1), the man pages,
the help screen and texi manual must be updated to clearly
indicate the "-b/--bytes" only applies to \b \t \r and never to
multibyte characters.

My suggestion for man-page:
==========================

Old:
---

-b, --bytes
              count bytes rather than columns


New:
---

-b, --bytes
              don't treat \b, \t, and \r specially


My suggestions for info-page:
============================

Old:
---

`-b'
`--bytes'
     Count bytes rather than columns, so that tabs, backspaces, and
     carriage returns are each counted as taking up one column, just
     like other characters.


New:
---

`-b'
`--bytes'
     Don't treat \b, \t, and \r specially. Instead tabs, backspaces, and
     carriage returns are each counted as taking up one column, just
     like other characters.


My suggestion for --help-output
===============================

Old:
---

  -b, --bytes         count bytes rather than columns


New:
---

  -b, --bytes         don't treat \b, \t, and \r specially



Hope this helps.
Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]