Re: fmt gobbles leading whitespace in prefix mode

2007-01-06 Thread Jim Meyering
"G.P. Halkes" <[EMAIL PROTECTED]> wrote: > it appears there is another bug in fmt regarding prefixes: lines that contain > only a prefix of the prefix and whitespace will be removed. This problem does > not occur after applying the second of the two patches I sent in my previous > post. However, th

Re: fmt gobbles leading whitespace in prefix mode

2007-01-05 Thread G.P. Halkes
Hi, it appears there is another bug in fmt regarding prefixes: lines that contain only a prefix of the prefix and whitespace will be removed. This problem does not occur after applying the second of the two patches I sent in my previous post. However, that particular patch will introduce an extra

Re: fmt gobbles leading whitespace in prefix mode

2007-01-04 Thread G.P. Halkes
This message is a reply to: http://lists.gnu.org/archive/html/bug-coreutils/2006-01/msg00144.html I ran into the same bug recently, and as it is not fixed in CVS I decided I'd have a go at writing a patch. [ For those unwilling to check the previous message: fmt removes whitespace from lines tha

Re: fmt gobbles leading whitespace in prefix mode

2006-01-19 Thread Jim Meyering
Thomas Hood <[EMAIL PROTECTED]> wrote: > Jim: Any comment on this ? > > $ fmt --version > fmt (GNU coreutils) 5.93 > $ cat fmt-test > tabbed > tabbed-twice > leading-space > two-leading-spaces > >> quoted >> text > $ fmt fmt-test > t