Jim Meyering
73ebfeb75a
(empty-format): New test, for this case.
2005-08-02 20:44:09 +00:00
Paul Eggert
afc5f72438
Import regex.m4 from gnulib.
2005-07-25 19:29:51 +00:00
Paul Eggert
55a6eee63c
(gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
...
obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
2005-07-25 19:29:34 +00:00
Paul Eggert
317a0f7a07
Fix getdate bug with relative times.
2005-07-21 22:00:55 +00:00
Paul Eggert
217cd893ef
(relative_time): New type.
...
(RELATIVE_TIME_0): New constant.
(parser_control): Use relative_time instead of doing it ourselves.
(%union): Add new relative_time rel member.
(tYEAR_UNIT, tMONTH_UNIT, tHOUR_UNIT, tMINUTE_UNIT, tSEC_UNIT):
Now typeless.
(relunit, relunit_snumber): Now of type rel.
(zone, rel, relunit, get_date): Adjust to above changes.
2005-07-21 22:00:34 +00:00
Paul Eggert
842bd54edb
(gl_C_COMPOUND_LITERALS): New macro.
...
(gl_GETDATE): Use it.
2005-07-21 22:00:06 +00:00
Jim Meyering
f4980f5997
*** empty log message ***
2005-07-19 11:10:43 +00:00
Jim Meyering
27cc9e65d2
(usage): Adjust printf argument list to match new format string.
2005-07-19 11:10:35 +00:00
Paul Eggert
19f049e34c
md5sum --check now accepts multiple input files.
2005-07-19 07:35:51 +00:00
Paul Eggert
eb3bd006a1
(usage, main): --check now accepts multiple input files.
2005-07-19 07:34:55 +00:00
Paul Eggert
b6bf239918
(md5sum invocation): --check now allows multiple FILE inputs.
2005-07-19 07:34:26 +00:00
Paul Eggert
cb0d1f9a60
md5sum --check now accepts multiple input files, and similarly for sha1sum.
2005-07-19 07:34:02 +00:00
Paul Eggert
62d9978140
Fix a problem noted by James Youngman: VPATH-style builds don't
...
work because of po file problems.
2005-07-18 08:03:56 +00:00
Paul Eggert
d58ce6b09c
(EXIT_STATUS): New macro.
...
(PROGRAM_NAME, usage): Behave like "false" if EXIT_STATUS indicates.
(usage): Remove "These option names may not be abbreviated."
2005-07-18 07:53:05 +00:00
Paul Eggert
983ce81d94
Initial revision.
2005-07-18 07:52:37 +00:00
Paul Eggert
cc5f57603d
(BUILT_SOURCES): Remove false.c.
...
(false.c): Remove; it's now a source file.
2005-07-18 07:52:18 +00:00
Paul Eggert
7eb112c43b
Update true/false doc.
2005-07-18 07:51:49 +00:00
Paul Eggert
8445b707fd
(false invocation):
...
Mention that false is often built-in, and that it exits
with status >1 on some hosts.
(true invocation): Remove now-incorrect "non-POSIX mode" reference.
2005-07-18 07:51:32 +00:00
Paul Eggert
829fcc0991
nohup no longer worries about POSIXLY_CORRECT.
2005-07-15 21:55:32 +00:00
Paul Eggert
ef5043084f
(main): Don't worry about POSIXLY_CORRECT.
2005-07-15 21:55:13 +00:00
Paul Eggert
adbbc35f87
(nohup invocation): POSIXLY_CORRECT no longer
...
affects nohup's behavior. Input is redirected from /dev/null.
2005-07-15 21:54:56 +00:00
Paul Eggert
738c09d59c
nohup now ignores POSIXLY_CORRECT and redirects from /dev/null.
2005-07-15 21:54:38 +00:00
Paul Eggert
9cfc51e083
Remove FESETROUND_LIBM; no longer needed.
2005-07-14 00:03:08 +00:00
Jim Meyering
765f89353e
*** empty log message ***
2005-07-12 18:34:45 +00:00
Jim Meyering
ad617951a6
(copyright-check): Reflect rearrangement in version-etc files.
2005-07-12 18:31:51 +00:00
Jim Meyering
f63845ae12
*** empty log message ***
2005-07-12 16:48:12 +00:00
Jim Meyering
40db6abec1
(X2NREALLOC): Define.
2005-07-12 16:47:37 +00:00
Jim Meyering
95550da8d3
.
2005-07-12 16:44:52 +00:00
Jim Meyering
eb3e6a0569
replace leading spaces with a TAB
2005-07-12 15:36:07 +00:00
Paul Eggert
7c97d643b9
(verify_expr): Use ((verify_type__ (R) *) 0), not
...
sizeof (verify_type__ (R)), to pacify C++ compilers.
2005-07-11 23:28:09 +00:00
Paul Eggert
6a406d5d8b
Reword copyright notices to conform to current GNU coding standards.
2005-07-11 21:59:08 +00:00
Paul Eggert
51ae476ad8
Parameterize the copyright symbol and the year.
2005-07-11 21:58:50 +00:00
Paul Eggert
8fb97bd54a
(COPYRIGHT_YEAR): New constant.
...
(version_etc_va): Use parameterized copyright notice.
Reword to conform to the current GNU coding standards.
2005-07-11 21:58:32 +00:00
Paul Eggert
b6f3f54730
Binary input and output are now implemented more consistently.
2005-07-11 18:31:36 +00:00
Paul Eggert
edfb9f5ba8
Updates for cat and md5sum, for text vs binary.
2005-07-11 18:31:10 +00:00
Paul Eggert
15a1aede78
(setmode, fileno): Remove; no longer needed, we think.
...
(SET_MODE, SET_BINARY, SET_BINARY2): Remove.
[defined __DJGPP__]: Don't include <io.h> or <sys/exceptn.h>.
2005-07-11 18:30:26 +00:00
Paul Eggert
bdc138f474
(wipefile): Always use binary mode. Clearly this
...
never worked right on DOS!
2005-07-11 18:30:02 +00:00
Paul Eggert
aa43a635c1
(usage): Clarify whether text or binary is the default.
...
(split_3, main): BINARY is now a 3-way value. All uses changed.
(digest_file): Likewise. Clear *BINARY if we determine the file
to be text. All uses changed.
(main): Don't report a file to be binary if we actually read it
as text in MS-DOS, because it was a terminal.
2005-07-11 18:29:44 +00:00
Paul Eggert
d045e55b7c
(unexpand): Always copy in text mode. POSIX says
...
the input and output must be text.
2005-07-11 18:29:21 +00:00
Paul Eggert
44f0501d4f
(expand): Always copy in text mode. POSIX says
...
the input and output must be text.
2005-07-11 18:28:53 +00:00
Paul Eggert
8831c9589a
(copy_reg): Always copy in binary mode.
2005-07-11 18:28:19 +00:00
Paul Eggert
f3946fbee9
(wc): Avoid setmode; use POSIX-specified routines instead.
...
(wc_file): FILE might be null now.
(main): Simplify code a bit, so that fewer places need the setmode fixes.
2005-07-11 18:27:49 +00:00
Paul Eggert
07fc234838
(main): Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:27:10 +00:00
Paul Eggert
a1170668ff
(tee): Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:26:52 +00:00
Paul Eggert
9839325ad5
(tail_bytes, tail_lines, tail_file, main):
...
Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:26:28 +00:00
Paul Eggert
b91eec6bb2
(copy_to_temp, tac_file, main):
...
Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:25:56 +00:00
Paul Eggert
ed0dda33d5
(bsd_sum_file, sysv_sym_file):
...
Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:25:23 +00:00
Paul Eggert
b2b2956e01
(main): Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:24:42 +00:00
Paul Eggert
a40f69da68
(open_next_file): Avoid setmode; use POSIX-specified routines instead.
2005-07-11 18:24:14 +00:00
Paul Eggert
6560de0b04
(head_lines, head_file): Avoid setmode; use POSIX-specified routines instead.
...
(elide_tail_bytes_file, elide_tail_lines_file, head_bytes):
(head_lines, head_file): Always use binary mode except for std tty.
2005-07-11 18:23:23 +00:00