Jim Meyering
f87b5cab0c
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(main): Check for obsolete options.
(main): Fix bug: -- -N was treated as -N --.
2002-02-02 07:58:50 +00:00
Jim Meyering
33f9d106bc
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(shortopts): New constant.
(main): Check for obsolete options.
2002-02-02 07:54:49 +00:00
Jim Meyering
793fbbc7f2
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.
2002-02-02 00:06:50 +00:00
Jim Meyering
20c2cd43a9
*** empty log message ***
2002-02-01 23:47:28 +00:00
Jim Meyering
546f26cbb3
* src/shred.c: (VERBOSE_UPDATE): Update every 5 seconds, not every 10.
...
(wipename): Quote file names only when necessary.
(main): Copy quoted string into malloc'd storage so it doesn't
get clobbered when using -u and --verbose.
Minor clean-up.
* src/shred.c:
Use `NULL' rather than `(time_t *) 0'.
(dopass): Use STREQ in place of strcmp.
Add parentheses around use of nested ternary operator.
2002-02-01 23:43:46 +00:00
Jim Meyering
a00579f70b
(VERBOSE_UPDATE): Now counts seconds, not bytes.
...
(dopass): If verbose, output a line every VERBOSE_UPDATE seconds,
and suppress duplicate output lines. Output a percentage as well
as a count of bytes.
Also, fix comment/code typo regarding how many bytes have been
written; this typo was harmless before, but is no longer harmless with
the above change in effect.
2002-02-01 23:34:57 +00:00
Jim Meyering
61d5f094fd
(rm): Add a comment.
2002-02-01 23:30:23 +00:00
Jim Meyering
3e04fcdbb5
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(parse_obsolescent_option, main): Likewise.
2002-02-01 16:31:55 +00:00
Jim Meyering
31cb36e88f
(start_lines): Handle the case in which bytes_read is zero.
2002-02-01 09:12:50 +00:00
Jim Meyering
06506ceb4f
*** empty log message ***
2002-01-28 13:51:22 +00:00
Jim Meyering
2c1c1dc64e
(ac-check): Remove, now that we no longer have
...
to duplicate that information.
2002-01-28 13:50:50 +00:00
Jim Meyering
7db90444af
*** empty log message ***
2002-01-28 10:10:33 +00:00
Jim Meyering
92747bfbc9
*** empty log message ***
2002-01-28 10:09:08 +00:00
Jim Meyering
467a80a588
*** empty log message ***
2002-01-28 10:08:38 +00:00
Jim Meyering
2d34812b74
*** empty log message ***
2002-01-28 06:30:41 +00:00
Jim Meyering
874d77f17f
*** empty log message ***
2002-01-27 07:53:45 +00:00
Jim Meyering
662fff7861
tail -n +2 would perform an extra read after encountering EOF
...
(start_lines): Detect EOF, inform caller.
(tail_lines): Upon EOF in start_lines, return immediately.
2002-01-27 07:53:37 +00:00
Jim Meyering
2852c1c0a1
split a long line
2002-01-26 22:04:00 +00:00
Jim Meyering
bae9a65da4
.
2002-01-26 19:03:43 +00:00
Jim Meyering
a08c6469be
(jm_MACROS): Require autoconf-2.52g.
2002-01-26 19:03:23 +00:00
Jim Meyering
c99c6c304a
.
TEXTUTILS-2_0_20
2002-01-26 09:56:05 +00:00
Jim Meyering
6cf1df86a5
*** empty log message ***
2002-01-26 09:55:15 +00:00
Jim Meyering
b2d18ac8f5
(getdate$U.o): Depend on unlocked-io.h.
2002-01-26 09:55:02 +00:00
Jim Meyering
1c3fa0f99e
*** empty log message ***
2002-01-24 09:14:52 +00:00
Jim Meyering
5d9ed2d7bc
(START-INFO-DIR-ENTRY): Remove a few entries
...
and clean up a few others based on suggestions from Bob Proulx.
2002-01-24 09:14:45 +00:00
Jim Meyering
97d18a1d85
*** empty log message ***
2002-01-22 18:16:06 +00:00
Jim Meyering
7e37a5e5e1
(skip): Remove redundant check for overflow.
...
fseeko's seek argument is already known to be in range,
since it is less than the file size.
2002-01-22 18:15:57 +00:00
Jim Meyering
d283021a71
(save_stdin): Report proper errno value after
...
fwrite failures. Do not bother to rewind the temp file, as
it'll be read backwards anyway.
2002-01-22 17:50:41 +00:00
Jim Meyering
0e4a77847a
.
2002-01-22 12:00:00 +00:00
Jim Meyering
bc3afd9b46
*** empty log message ***
2002-01-22 11:59:20 +00:00
Jim Meyering
fb92d24736
(Makefile): Don't depend on $(BUILT_SOURCES).
...
Otherwise, some versions of automake would omit the rule that makes
Makefile from Makefile.in.
2002-01-22 11:59:11 +00:00
Jim Meyering
c00f96b198
.
2002-01-22 11:58:36 +00:00
Jim Meyering
7a50bc0dff
header-check: fix it yet again
2002-01-22 11:22:03 +00:00
Jim Meyering
31a6a88517
(header-check): Add `&& :'.
2002-01-22 11:13:50 +00:00
Jim Meyering
78ebc8e8d5
*** empty log message ***
2002-01-22 11:12:00 +00:00
Jim Meyering
e053850b61
*** empty log message ***
2002-01-22 11:11:22 +00:00
Jim Meyering
aa247b62b3
.
2002-01-22 11:03:33 +00:00
Jim Meyering
c31e5c3ca5
update copyright year
2002-01-22 11:02:31 +00:00
Jim Meyering
3da062869b
(swallow_file_in_memory): Work even if `open' returns 0.
...
Check for `close' error.
2002-01-22 10:51:53 +00:00
Jim Meyering
f8053809f8
remove the parens I just added to Paul's patch
2002-01-22 10:47:14 +00:00
Jim Meyering
ef95b3233e
(EOVERFLOW, fseeko): New macros.
2002-01-22 10:46:05 +00:00
Jim Meyering
437d89a151
(skip): Use fseeko rather than lseek.
...
(Also, check for overflow when converting uintmax_t to off_t.)
2002-01-22 10:44:13 +00:00
Jim Meyering
2b1c83e4e2
*** empty log message ***
2002-01-22 10:34:49 +00:00
Jim Meyering
e4407b754b
(jm_MACROS): Require AC_FUNC_FSEEKO.
2002-01-22 10:34:43 +00:00
Jim Meyering
f2c93707b4
.
2002-01-22 09:53:13 +00:00
Jim Meyering
5713380d80
.
2002-01-22 08:14:46 +00:00
Jim Meyering
ff9ea9b139
*** empty log message ***
2002-01-22 08:13:00 +00:00
Jim Meyering
026c2017b1
Include xmemcoll.h, not memcoll.h.
...
Use xmemcoll instead of memcoll.
(die): Do not invoke cleanup; atexit does this now.
(main): Use atexit to invoke cleanup on exit.
Set xmemcoll_exit_failure to SORT_FAILURE.
2002-01-22 08:12:51 +00:00
Jim Meyering
64eb355c76
Include xmemcoll.h, not memcoll.h.
...
Use xmemcoll instead of memcoll.
2002-01-22 08:11:04 +00:00
Jim Meyering
023877ac27
*** empty log message ***
2002-01-22 08:04:03 +00:00