summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-03-29.Jim Meyering
1996-03-29.Jim Meyering
1996-03-28.Jim Meyering
1996-03-28.Jim Meyering
1996-03-28Move usage to precede main.Jim Meyering
Say `too few arguments' if that's why we display usage. Protoize. Include error.h. Update copyright.
1996-03-28.Jim Meyering
1996-03-28from RolandJim Meyering
1996-03-28.Jim Meyering
1996-03-28(cksum): Use format "%lu %ld" (instead of "%10lu %8ld")Jim Meyering
to be POSIX compliant. From Stephen Gildea <gildea@x.org>.
1996-03-26.Jim Meyering
1996-03-26Document and example --rfc.Jim Meyering
Document %z and %Z.
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24Include xstrtod.h.Jim Meyering
(scan_double_arg): Use xstrtod rather than strtod directly.
1996-03-24.Jim Meyering
1996-03-24Make parameters const where appropriate.Jim Meyering
Rename global FROM to START. (print_numbers): Rewrite loops to avoid incrementing. Instead, use `x = first + i * increment' paradigm. Otherwise, with inexact increment, you could miss the last value.
1996-03-24Protoize and reorder functions.Jim Meyering
1996-03-24(main): Reformat if-block a little.Jim Meyering
Declare index I to be of type size_t to avoid warning from gcc -Wall.
1996-03-24.Jim Meyering
1996-03-24Call error with EXIT_FAILURE (rather than `1') as first actual parameter.Jim Meyering
1996-03-24Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.Jim Meyering
This doesn't change `error (1' calls.
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24[SORT_FAILURE]: New macro.Jim Meyering
Be careful to exit with 1 only when -c is used and the input is not properly sorted. In all other cases, use SORT_FAILURE as required by POSIX. (main): Change some `error (1, ...' to use SORT_FAILURE. Upon successful termination, exit with EXIT_SUCCESS instead of `0'. Replace all uses of `2' (as exit code) with SORT_FAILURE.
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-24.Jim Meyering
1996-03-22.Jim Meyering
1996-03-22.Jim Meyering
1996-03-22Include assert.h, but disable assertions.Jim Meyering
(process_line_count): Replace if-abort with a slightly relaxed assertion. Before, `echo |csplit - 1 1' would abort. Reported by Samuli.Karkkainen@hut.fi. (parse_patterns): Disallow uses like `csplit FILE 0' with zero line number, `csplit FILE 2 1' with decreasing line numbers, and warn about uses like `csplit FILE 3 3' that have equal line numbers.
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-21.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-21.Jim Meyering
1996-03-21(main): Declare to return int, not void. From Peter SeebachJim Meyering
<seebs@taniemarie.solon.com>.
1996-03-18.Jim Meyering
1996-03-16.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16Change @VERSION@ to @PKG_VERSION@.Jim Meyering
1996-03-16.Jim Meyering