Commit Graph
20330 Commits
Author SHA1 Message Date
Jim Meyering cd4d79b1c3 *** empty log message *** 2003-04-12 19:52:38 +00:00
Jim Meyering b7fcd8d3ed add test corresponding to today's too-many-newlines fix 2003-04-12 19:52:33 +00:00
Jim Meyering b62edfd3f9 Giving nl an invalid STYLE argument (in --header-numbering=STYLE (-h),
--body-numbering=STYLE (-b), or --footer-numbering=STYLE (-f)) or
FORMAT (--number-format=FORMAT (-n)) would not give a useful diagnostic.

(main): Fix those problems and remove literal quote marks
(e.g., "`%s'") from format string; instead use "%s" in each format
string and `quote (optarg)' as the corresponding argument.
Also, diagnose all invalid command line options before failing.
2003-04-12 19:51:36 +00:00
Jim Meyering d5fdbeda89 (proc_text): Fix a bug introduced on 2001-11-10,
for textutils-2.0.17, that would make nl output extra newlines
in some cases.
2003-04-12 18:44:53 +00:00
Jim Meyering d730a311aa *** empty log message *** 2003-04-12 13:03:01 +00:00
Jim Meyering a20d798296 (TESTS): Add readlink. 2003-04-12 13:02:57 +00:00
Jim Meyering 0a94599ed5 *** empty log message *** 2003-04-12 13:02:34 +00:00
Jim Meyering d769c32623 A few tests of the --canonicalize option. 2003-04-12 13:02:13 +00:00
Jim Meyering bc076eac2f Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values. 2003-04-11 14:06:02 +00:00
Jim Meyering df80970dd5 *** empty log message *** 2003-04-11 14:05:51 +00:00
Jim Meyering a526befb04 *** empty log message *** 2003-04-11 12:55:58 +00:00
Jim Meyering dd199731fd *** empty log message *** 2003-04-11 12:54:22 +00:00
Jim Meyering cfaec94084 *** empty log message *** 2003-04-11 12:51:41 +00:00
Jim Meyering d93d0c0ff4 Remove SPC in SPC-TAB sequence. 2003-04-11 12:46:24 +00:00
Jim Meyering 37bcb6853c Remove SPC in SPC-TAB sequence. 2003-04-11 12:44:41 +00:00
Jim Meyering 3cd987830d Remove SPC in SPC-TAB sequence. 2003-04-11 12:44:23 +00:00
Jim Meyering 0893227b13 Remove SPC in SPC-TAB sequence. 2003-04-11 12:42:39 +00:00
Jim Meyering 31df60a180 Remove SPC in SPC-TAB sequence. 2003-04-11 12:42:15 +00:00
Jim Meyering 930cda9304 Remove SPC in SPC-TAB sequence.
Remove trailing blanks.
filter though cppi
2003-04-11 12:41:44 +00:00
Jim Meyering e96ac732f5 Remove SPC in SPC-TAB sequence. 2003-04-11 12:39:58 +00:00
Jim Meyering 9f70372581 Remove SPC in SPC-TAB sequence. 2003-04-11 12:38:19 +00:00
Jim Meyering ab69f41a76 Remove SPC in SPC-TAB sequence. 2003-04-11 12:37:58 +00:00
Jim Meyering eaae702647 *** empty log message *** 2003-04-11 12:36:43 +00:00
Jim Meyering 3bd3492b1c Include <stdlib.h> unconditionally. 2003-04-11 12:36:31 +00:00
Jim Meyering 1fd5c0ae41 Include <string.h> and <stdlib.h> unconditionally. 2003-04-11 12:21:59 +00:00
Jim Meyering 58b92bbeb2 Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values. 2003-04-11 12:20:35 +00:00
Jim Meyering 9def4be367 Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values. 2003-04-11 12:15:21 +00:00
Jim Meyering 2b64c3929a . 2003-04-11 12:03:38 +00:00
Jim Meyering aa32168619 (XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts. 2003-04-11 11:59:11 +00:00
Jim Meyering 0bf873ccfb *** empty log message *** 2003-04-11 11:56:44 +00:00
Jim Meyering 6eb5e28e87 Remove use of PARAMS. 2003-04-11 11:56:41 +00:00
Jim Meyering 3bb4efc2af (PARAMS): Remove definitions and uses. 2003-04-11 11:55:33 +00:00
Jim Meyering 31af887efe duh 2003-04-11 11:49:23 +00:00
Jim Meyering bfcaedcedd (xalloc-check): Rename from header-check. 2003-04-11 11:45:23 +00:00
Jim Meyering 1038acbd8a *** empty log message *** 2003-04-11 11:42:48 +00:00
Jim Meyering 2033d5e885 Include error.h after system.h, not before. 2003-04-11 11:42:39 +00:00
Jim Meyering d5d5c4fc68 *** empty log message *** 2003-04-11 10:52:04 +00:00
Jim Meyering 6c93bdeeaa Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.
2003-04-11 10:51:56 +00:00
Jim Meyering eaff43d5a8 include xalloc.h 2003-04-11 09:16:32 +00:00
Jim Meyering 912a810f6f do not cast xmalloc return value 2003-04-11 09:16:02 +00:00
Jim Meyering 2ab3a2f245 *** empty log message *** 2003-04-11 09:15:14 +00:00
Jim Meyering 48f3410d03 *** empty log message *** 2003-04-11 09:11:18 +00:00
Jim Meyering 95790ad375 *** empty log message *** 2003-04-10 21:41:08 +00:00
Jim Meyering 179105b117 (wrapf): Declare with format attribute. 2003-04-10 21:41:03 +00:00
Jim Meyering 3d98688378 . 2003-04-10 19:33:03 +00:00
Jim Meyering 45c0089f12 . 2003-04-10 19:32:34 +00:00
Jim Meyering d85d39bf4c (check-texinfo): Check for uses of non-zero. I prefer to spell it `nonzero'. 2003-04-10 19:32:23 +00:00
Jim Meyering 00e065355d *** empty log message *** 2003-04-10 19:31:16 +00:00
Jim Meyering 7b81263498 *** empty log message *** 2003-04-10 19:29:49 +00:00
Jim Meyering dd395a2657 *** empty log message *** 2003-04-10 19:27:53 +00:00