Commit Graph

1332 Commits

Author SHA1 Message Date
Jim Meyering cfbca54a71 . 1995-11-30 20:08:07 +00:00
Jim Meyering f0f6a9c44e . 1995-11-30 20:06:49 +00:00
Jim Meyering cc1a9180a7 . 1995-11-30 20:06:11 +00:00
Jim Meyering 155639bf0f Lots of new tests -- related to -k2,2 bug and non-functional -b and `b'. 1995-11-30 20:06:06 +00:00
Jim Meyering c0f51577fd . 1995-11-30 19:42:58 +00:00
Jim Meyering efac765819 . TEXTUTILS-1_13F 1995-11-30 04:34:22 +00:00
Jim Meyering 1c7a2ac60f . 1995-11-30 04:34:06 +00:00
Jim Meyering f4b094e098 . 1995-11-30 04:32:31 +00:00
Jim Meyering e984b74461 . 1995-11-30 04:28:27 +00:00
Jim Meyering c1e61448b3 . 1995-11-30 03:51:59 +00:00
Jim Meyering 2f077ef41f (limfield): Remove field_start junk.
Don't try to trim trailing blanks here -- it's not possible
because we don't know where the field begins.
Properly distinguish between cases where TAB character is specified
and when the default is used.
(trim_trailing_blanks): New function.
(findlines): Call it.
(keycompare): Likewise.
1995-11-29 22:51:04 +00:00
Jim Meyering cfc48b6ee9 [_]: Define it. 1995-11-29 19:47:42 +00:00
Jim Meyering 073c4cb543 Mark all translatable strings using po-mode.el. 1995-11-29 19:24:52 +00:00
Jim Meyering 8bacb0720c Mark all translatable strings using po-mode.el. 1995-11-29 19:23:30 +00:00
Jim Meyering da8c36f53f (begfield): Replace unnecessary loop with if-else.
(limfield): Fix bug that made field specs like -k1.5 return a
pointer into LINE beyond the first field.
Rewrite to properly ignore trailing blanks.
Replace unnecessary loop with if-else.
(main): Don't decrement T2 corresponding to `x' in field specs like -ku.v,w.x.
1995-11-28 20:07:17 +00:00
Jim Meyering 83cf5efca9 Tests for bug reported by Roger Peel" <R.Peel@ee.surrey.ac.uk> 1995-11-28 16:52:49 +00:00
Jim Meyering 4d9669b8d9 . 1995-11-27 14:25:39 +00:00
Jim Meyering 18573f3eb2 (usage): Clarify description of --no-dereferences. 1995-11-27 05:46:24 +00:00
Jim Meyering 57ec0f45c9 s/non-zero/nonzero/g 1995-11-27 05:34:31 +00:00
Jim Meyering a7830ac93b . 1995-11-27 05:29:44 +00:00
Jim Meyering 488bd9911e . 1995-11-27 03:11:36 +00:00
Jim Meyering 7956c15081 s/non-zero/nonzero/g 1995-11-27 03:09:18 +00:00
Jim Meyering 0402200daf Clarify usage. From Karl Berry. 1995-11-26 22:09:43 +00:00
Jim Meyering dc0708fa82 . 1995-11-26 21:51:42 +00:00
Jim Meyering 7b9ad5a22f [!UINT_MAX]: Define.
[!INT_MAX]: Define.
Include xstrtoul.h.
(string_to_number): Remove function.
(check_for_offset): Use xstrtoul instead of string_to_number.
(parse_repeat_count): Likewise.
(parse_patterns): Likewise.
(main): Likewise.
1995-11-26 21:49:53 +00:00
Jim Meyering c4e9f56745 . 1995-11-24 05:29:28 +00:00
Jim Meyering b69a467146 . 1995-11-23 05:17:50 +00:00
Jim Meyering 75cce0c815 . 1995-11-18 20:19:17 +00:00
Jim Meyering 546754d2e9 . 1995-11-18 18:17:42 +00:00
Jim Meyering e8f8b7a82d Remove autodep junk. 1995-11-18 06:36:47 +00:00
Jim Meyering c54a604289 Indent cpp directives. 1995-11-18 06:17:07 +00:00
Jim Meyering f52e14c576 . 1995-11-17 03:41:20 +00:00
Jim Meyering a0aef26c06 . 1995-11-17 03:29:26 +00:00
Jim Meyering 4d4a6210f7 Remove obsolete FIXME. 1995-11-16 07:39:44 +00:00
Jim Meyering a5ad9a2579 . 1995-11-16 07:32:45 +00:00
Jim Meyering 79d6ddd36a Fix up description of md5sum --check. 1995-11-16 06:18:17 +00:00
Jim Meyering 18da62e303 . 1995-11-15 23:41:08 +00:00
Jim Meyering 77469b714b (*format_address): Tweak dcl. 1995-11-15 22:16:30 +00:00
Jim Meyering 1fbac54162 [__P]: Don't define it here. 1995-11-15 22:12:59 +00:00
Jim Meyering cf14c509f3 Use __P. 1995-11-15 21:59:55 +00:00
Jim Meyering 02bde8d334 . 1995-11-15 21:59:20 +00:00
Jim Meyering e99f534046 . 1995-11-15 21:58:58 +00:00
Jim Meyering aeac9910cb . 1995-11-15 21:48:06 +00:00
Jim Meyering f84513b43e (sort, -g): Document it.
(join, new `0' format): Likewise.
1995-11-15 21:47:44 +00:00
Jim Meyering 34fc818d7e Add support for sorting numbers in scientific notation.
Include xstrtod.h.
(struct keyfield): Add field: general_numeric.
(usage): Describe -g option.
(general_numcompare): New function.
(keycompare): Use new comparison function when general_numeric
flag is set.
(set_ordering): Honor `g' flag.
(main): Initialize and use new field.
From Marcus Daniels <marcus@sysc.pdx.edu>.
1995-11-15 21:42:47 +00:00
Jim Meyering f1e1eb58be Break long lines. 1995-11-15 15:45:28 +00:00
Jim Meyering 3d6c17e94f Indent. 1995-11-15 15:04:51 +00:00
Jim Meyering ef3e297950 . 1995-11-15 05:40:11 +00:00
Jim Meyering 5cf3719e7b (cleanup): Don't exit.
(cleanup_fatal): New function.  Call cleanup, then exit.
(sighandler): New function.
(cleanup_fatal): Renamed from cleanup.  Call cleanup, then exit.
Update callers.
(tac_stdin): Set up sighandler as signal handler, not `cleanup'.
1995-11-15 05:39:58 +00:00
Jim Meyering b36e366ef4 (cleanup): Don't exit.
(cleanup_fatal): New functoin.  Call cleanup, then exit.
(interrupt_handler): Rewrite to reset default signal handler
then repost caught signal.
(xmalloc, xrealloc, read_input, write_to_file, handle_line_error,
process_line_count, process_regexp, create_output_file, close_output_file):
Call cleanup_fatal, not cleanup.
Add const attribute to lots of parameters.
1995-11-15 05:32:28 +00:00