"Gera, Geetanjali" <[EMAIL PROTECTED]> writes:

> If the length of a line is more than 1024 and I use fmt [fmt -s -w
> 77] on the file, the output file truncate characters of the line
> after 1024, i.e. It does not display the characters of that line
> after 1024 and continue further with next line. So, the output file
> does not contain all the characters.

I don't observe this behavior with coreutils 5.93 fmt:

$ printf '%*s\n' 10000 x | fmt -s -w 77 | wc
      1       1   10001
$ fmt --version | head -n 1
fmt (GNU coreutils) 5.93

Here 'fmt' took a 10,000-character line and output it correctly.

Perhaps you have an old version of fmt?  Or perhaps my test case
doesn't cause the bug?  If so, please send in a complete test case
that does cause the bug.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to