bug#79497: fmt breaks lines when it does not need to
James Cloos <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "BH" == Bruno Haible via GNU coreutils Bug Reports <[email protected]> writes: BH> $ fmt -w 12 -g 12 input.txt BH> Grüà BH> Gott. BH> $ fmt -w 13 -g 13 input.txt BH> Grüà Gott. BH> Why does it take a width of 13, in order to keep the first two words BH> on a single line? That line has width 10. odds are that fmt(1) is counting octets rather that characters. -JimC -- James Cloos <[email protected]> OpenPGP: https://jhcloos.com/0x997A9F17ED7DAEA6.asc