[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usage of Fmt
From: |
Paul Eggert |
Subject: |
Re: Usage of Fmt |
Date: |
Wed, 09 Nov 2005 13:39:32 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Gera, Geetanjali" <address@hidden> 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.
- Usage of Fmt, Gera, Geetanjali, 2005/11/09
- Re: Usage of Fmt,
Paul Eggert <=