Jim Meyering
bce110cdd5
* tests/fmt/basic (pfx-only, pfx-of-pfx): New tests,
...
based on examples from G.P. Halkes in
<http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/9388 >.
2007-01-06 10:42:17 +01:00
G.P. Halkes
37bcc27707
* src/fmt.c (copy_rest): Correct prefix handling.
...
Don't elide a line with the prefix followed by only white space.
(get_line): Move EOF-check to loop-termination condition.
* tests/fmt/basic (pfx-1): Adjust test to expect desired result.
(pfx-2): Remove test; its premise was contrary to the documentation.
2007-01-06 09:49:47 +01:00
Paul Eggert
218fa5c61b
Add/fix copyright notices and adjust to latest GNU FDL.
2006-08-17 19:58:17 +00:00
Jim Meyering
a74a458f5f
(pfx-1, pfx-2): New tests, to demonstrate the bug
...
reported as http://bugs.debian.org/147577 . Forwarded by Thomas Hood.
2006-01-19 20:58:22 +00:00
Paul Eggert
9118673ca3
Renamed Fetish package to Coreutils.
2005-04-20 07:54:54 +00:00
Paul Eggert
faca6bfc15
Convert to UTF-8.
2004-08-10 22:47:08 +00:00
Paul Eggert
8c454fe939
(wide-1, wide-2, bad-suffix): Adjust to today's fmt.c fixes.
2004-08-03 00:03:57 +00:00
Jim Meyering
c48100ccf1
*** empty log message ***
2003-05-03 20:14:20 +00:00
Jim Meyering
1e97469e5a
Give a proper diagnostic for e.g., `fmt -c -72'.
2003-05-02 19:52:34 +00:00
Jim Meyering
d500b3f1e6
make sure we fail when unable to open an input file
2003-05-02 19:36:48 +00:00
Jim Meyering
63f2e7dba0
make sure -72x elicits an error
2003-05-02 19:20:18 +00:00
Jim Meyering
c54ba76168
Run $PERL to see if it is available, rather than testing its value.
2003-04-08 10:55:01 +00:00
Jim Meyering
39926c6c6e
Export LC_ALL=C, to avoid failure when run in a UTF locale.
...
Report and suggested fix by Bruno Haible.
2002-11-19 14:08:45 +00:00
Jim Meyering
707be37f35
Add wide-1 and wide-2.
2001-09-12 09:04:52 +00:00
Jim Meyering
7cb4c9284d
*** empty log message ***
2001-03-12 21:11:31 +00:00
Jim Meyering
d998775909
*** empty log message ***
2001-03-12 17:49:00 +00:00