📄 changelog
字号:
* doc/sh-utils.texi (false invocation): Describe how --help and --version are treated with and without POSIXLY_CORRECT. (true invocation): Likewise. Forwarded by Michael Stone.2001-03-18 Jim Meyering <meyering@lucent.com> * tests/Fetish.pm: If the $DJDIR envvar is defined, set SHELL to $DJDIR/bin/bash.exe. Patch from Richard Dawe, based on a suggestion from Eli Zaretskii.2001-03-10 Jim Meyering <meyering@lucent.com> * doc/sh-utils.texi (date invocation): Correct the description of how date works when given no format. Reported by Ole Laursen. * src/factor.c: Include wheel-size.h. (WHEEL_START): Adjust definition. (wheel_tab[]): Remove body of definition. Include generated file, wheel.h, instead. * src/wheel-gen.pl: New file. * src/Makefile.am (noinst_HEADERS): Add wheel.h wheel-size.h. (EXTRA_DIST): Add wheel-gen.pl. (PERL): Define. (wheel-size.h, wheel.h): New rules. (BUILT_SOURCES): Add wheel.h and wheel-size.h. (MAINTAINERCLEANFILES): Define.2001-03-09 Jim Meyering <meyering@lucent.com> * Makefile.maint (my_distdir): Define new variable, and use this in place of most old uses of $(distdir). * src/date.c (usage): Describe %C. * doc/sh-utils.texi (Date directives): Likewise. * tests/help-version: Ensure that /dev/full is a character device (using test -c) as well as being writable, before trying to write to it. Otherwise, the test could mistakenly append a newline to an existing, regular, writable, /dev/full file. Suggested by Ulrich Drepper.2001-03-07 Jim Meyering <meyering@lucent.com> * tests/stty/Makefile.am (EXTRA_DIST): Remove input-tty. * tests/Makefile.am (EXTRA_DIST): Add input-tty. * tests/stty/basic-1: Reflect change in location of input-tty. * tests/stty/row-col: Likewise. * tests/stty/input-tty: Move this file... * tests/input-tty: ... to here.2001-02-24 Paul Eggert <eggert@twinsun.com> * doc/sh-utils.texi: Fix typo: '-d=1may' -> '-d 1may'. Fix and clarify time zone usage in 'date' examples.2001-02-04 Jim Meyering <meyering@lucent.com> * src/factor.c (usage): Tweak --help output: it prints the _prime_ factors, not just any factors.2001-02-03 Jim Meyering <meyering@lucent.com> Improve the performance of `factor' (more than 2x speed-up for large N). * src/factor.c (wheel_tab): New global table. (WHEEL_START, WHEEL_END): Define. (factor): Remove the loop that special-cased `2'. Instead of incrementing by `2', use the offsets from the wheel table. From Michael Steffens.2000-11-27 Prashant TR <rprash@wilco-int.com> * src/test.c (eaccess) [__MSDOS__]: Just use access.2001-01-26 Jim Meyering <meyering@lucent.com> * src/dirname.c (main): Declare local result as non-const, now that it's freed.2001-01-20 Jim Meyering <meyering@lucent.com> * configure.in: Remove jm_CHECK_ALL_TYPES. Now it's invoked by jm_MACROS.2001-01-04 Jim Meyering <meyering@lucent.com> * src/date.c (main): Fail when --rfc-822 (-R) is specified along with a format string. Reported by Jochen Hein.2000-12-17 Jim Meyering <meyering@lucent.com> * doc/texinfo.tex: Update from master repository. * config.sub: Likewise. * config.guess: Likewise. * djgpp: New directory. * djgpp/*: New files. * Makefile.am (SUBDIRS): Add djgpp. * configure.in (AC_OUTPUT): Add djgpp/Makefile. From Prashant TR.2000-12-08 Jim Meyering <meyering@lucent.com> * src/dirname.c: Include xalloc.h. (main): Use dir_name rather than the underlying dir_name_r. The former now handles cwd-relative names with drive-letter prefixes.2000-12-02 Jim Meyering <meyering@lucent.com> * src/seq.c (valid_format): Move pre-increment to a separate statement to avoid a warning. * src/id.c: Move dcls of globals used only in main... (main): ...to here. (usage): Clarify option descriptions.2000-11-18 Jim Meyering <meyering@lucent.com> * po/Makefile.in.in: Sync with the one from fileutils. * configure, config.h.in, Makefile.in, etc.: Regenerate using the very latest version (in CVS) of autoconf.2000-11-17 Jim Meyering <meyering@lucent.com> * GNUmakefile (.NOTPARALLEL): New target. Prevent unwanted parallelism. Suggestion from Ulrich Drepper. * src/pinky.c: Explicitly include sys/types.h before including system.h. * src/uptime.c: Likewise. * src/users.c: Likewise. * src/who.c: Likewise.2000-11-13 Paul Eggert <eggert@twinsun.com> * src/sys2.h (ST_TIME_CMP_NS): Fix typo: ST_MTIM_NSEC should be tested with #ifdef, not with #if.2000-11-12 Jim Meyering <meyering@lucent.com> * src/date.c (show_date): Add a comment explaining why the format string must not be translatable via _(). From Paul Eggert.2000-10-31 Jim Meyering <meyering@lucent.com> * doc/sh-utils.texi: Clean up indentation and punctuation. Fix a couple typos. From Brian Youmans.2000-10-30 Jim Meyering <meyering@lucent.com> * configure, config.h.in, Makefile.in, etc.: Regenerate using the very latest version (in CVS) of autoconf.2000-10-29 Jim Meyering <meyering@lucent.com> * Version 2.0.11.2000-10-27 Jim Meyering <meyering@lucent.com> * src/date.c (usage): Mention the time zone, UTC, and write the date in ISO format in the description of %s. Suggestion from Karl Berry.2000-10-25 Jim Meyering <meyering@lucent.com> * src/dirname.c: Include dirname.h. (main): Use dir_name_r rather than open-coding it.2000-10-23 Jim Meyering <meyering@lucent.com> * Makefile.am (EXTRA_DIST): Add .prev-version.2000-10-18 Paul Eggert <eggert@twinsun.com> * src/date.c (universal_time): Remove; it's just a temptation to do the wrong thing. (main): The -u option now just sets TZ; it doesn't do anything else. (show_date): Do not do anything special if -u is set. This affects the behavior of the -I and -R options. * doc/sh-utils.texi: Document the above.2000-10-18 Jim Meyering <meyering@lucent.com> * doc/sh-utils.texi (Examples of date): Fix a typo.2000-10-11 Jim Meyering <meyering@lucent.com> * doc/sh-utils.texi (Time directives) [%S]: Range is 0..60, not 0..61.2000-10-06 Paul Eggert <eggert@twinsun.com> Undo the effect of the 1997-07-12 change to date.c; it broke "date -u MMDDhhmm" and it wasn't documented. This reverts to the behavior of the 1996-01-03 patch. * src/date.c (TZ_UTC0, MAYBE_SET_TZ_UTC0, set_tz): Remove. (batch_convert): Don't futz with TZ. (main): -u now parses all dates as UTC, not just some. Reported by Karl-Michael Schneider. * tests/date/Test.pm (utc-0, utc-1, relative-2): Adjust to above change.2000-09-29 Jim Meyering <meyering@lucent.com> * src/yes.c (usage): Add a separate usage line, just for `OPTION'. Suggestion from M. P. Suzuki.2000-09-09 Jim Meyering <meyering@lucent.com> * src/date.c (usage): Make the second `Usage' line more precise (also making it match the texinfo documentation). From Karl Eichwalder. * doc/sh-utils.texi (Setting the time): Correct the capitalization of `HHMM' in the info-rendering of the texinfo documentation. Reported by Karl Eichwalder.2000-08-14 Jim Meyering <meyering@lucent.com> * src/tee.c (main): Remove incorrect `FIXME' comment.2000-08-07 Paul Eggert <eggert@twinsun.com> * src/su.c (xputenv): Invoke xalloc_die instead of printing our own message.2000-07-30 Jim Meyering <meyering@lucent.com> * src/tee.c (tee): Use SET_BINARY and SET_BINARY2. From Prashant TR. * src/help-version: Remove file. Move it to ... * tests/help-version: ...here * tests/Makefile.am (TESTS): Add help-version. (TESTS_ENVIRONMENT): Define. * src/Makefile.am (EXTRA_DIST): Remove help-version. (TESTS): Remove definition. (TESTS_ENVIRONMENT): Remove definition.2000-07-23 Jim Meyering <meyering@lucent.com> * src/help-version (su_args): Punt, so we don't try to start a shell. * src/su.c: Include <sys/param.h> if HAVE_SYS_PARAM_H is defined, rather than if _POSIX_VERSION is defined. Remove declarations of getpwuid, getgrgid, and getuid, now that they're in sys2.h. Prompted by a report from John David Anglin. * src/sys2.h [!HAVE_DECL_GETPWUID]: Declare getpwuid. [!HAVE_DECL_GETGRGID]: Declare getgrgid. [!HAVE_DECL_GETUID]: Declare getuid.2000-07-19 Jim Meyering <meyering@lucent.com> * src/date.c (batch_convert): Free `initial_TZ' only if it was set. Reported by Michael Hohn.2000-07-17 Jim Meyering <meyering@lucent.com> * src/stty.c (visible): Don't mark `<undef>' for translation. The standard requires that exact string.2000-07-09 Jim Meyering <meyering@lucent.com> * config.guess: Update from FSF. * config.sub: Likewise. * src/Makefile.am (seq_LDADD): Don't hard-code `-lm' -- some systems don't have/need it. From Bruno Haible.2000-07-06 Jim Meyering <meyering@lucent.com> * src/help-version: Punt on `groups' test, since all it does is run `id -Gn', and groups fails if GNU id is not installed. Reported by Christian Krackowizer.2000-07-05 Bruno Haible <haible@clisp.cons.org> * tests/nice: Avoid syntax error in "test" when `nice` generates no output.2000-07-04 Jim Meyering <meyering@lucent.com> * Version 2.0j. * tests/date/Test.pm (test_vector): Disable test #2 for all systems, even though it fails only on SunOS4.2000-07-01 Jim Meyering <meyering@lucent.com> * configure.in (jm_DUMMY_1): Wrap a snippet in a macro definition so we can use AC_REQUIRE. (jm_BOOT_TIME): Likewise.2000-06-17 Bruno Haible <haible@clisp.cons.org> * configure.in: Add pinky, users, who to OPTIONAL_BIN_PROGS if either <utmp.h> or <utmpx.h> exists. Add uptime only if either <utmp.h> or <utmpx.h> exists. * src/Makefile.am (bin_PROGRAMS): Remove pinky, users, who from here... (EXTRA_PROGRAMS): ... and add them here.2000-06-26 Jim Meyering <meyering@lucent.com> `id -Gn' (invoked by groups) would fail without giving a diagnostic on malconfigured systems. * src/id.c (print_user): Give a diagnostic if number->name lookup fails. (print_group): Likewise.2000-06-25 Jim Meyering <meyering@lucent.com> * configure.in (ALL_LINGUAS): Add Danish (da).2000-06-21 Jim Meyering <meyering@lucent.com> * tests/stty/basic-1: New test for that. * src/stty.c (valid_options): Don't segfault on `stty erase -'. Patch from Harry Liu.2000-06-15 Jim Meyering <meyering@lucent.com> * tests/date/Test.pm: Add tests for getdate.y fix.2000-06-14 Jim Meyering <meyering@lucent.com> * src/help-version: Punt on nohup; give it --version.2000-06-10 Jim Meyering <meyering@lucent.com> * doc/sh-utils.texi: Typo-fixes and some clean-up from Brian Youmans.2000-05-29 Jim Meyering <meyering@lucent.com> * tests/nice: Remove now-unused reference to srcdir. * src/help-version: Use `WARNING', not just `Warning' in the broken-/bin/sh diagnostic, to be consistent with other such warnings.2000-05-21 Jim Meyering <meyering@lucent.com> * tests/nice: Disable test on djgpp.2000-05-15 Jim Meyering <meyering@lucent.com> * tests/date/Test.pm (test_vector): Skip the %c test on SunOS4 systems. Suggested by Paul Eggert. Reported by Volker Borchert.2000-05-13 Jim Meyering <meyering@lucent.com> * src/groups.sh: Detect and report write failure of --help/--version. * src/nohup.sh: Likewise.2000-05-11 Jim Meyering <meyering@lucent.com> * src/date.c (usage): Don't call close_stdout_status directly, since that didn't cover --version output. (main): Instead, call close_stdout_set_status and arrange to call close_stdout via atexit. * src/printenv.c: Likewise. * src/tty.c: Likewise. * src/true.c (usage): Don't call close_stdout directly, since that didn't cover --version output. (main): Arrange to call close_stdout via atexit, instead. * src/yes.c: Likewise. * src/sleep.c: Likewise.2000-05-09 Jim Meyering <meyering@lucent.com> * src/sys2.h (case_GETOPT_VERSION_CHAR): Don't call close_stdout. * src/help-version: New test. * src/Makefile.am (TESTS): Define. (TESTS_ENVIRONMENT): Likewise. (EXTRA_DIST): Add help-version.2000-05-08 Jim Meyering <meyering@lucent.com> * Version 2.0i.2000-05-07 Jim Meyering <meyering@lucent.com> * Version 2.0h. * src/basename.c: Include "closeout.h". (main): Call atexit with close_stdout. * src/chroot.c: Likewise. * src/dirname.c: Likewise. * src/echo.c: Likewise. * src/env.c: Likewise. * src/expr.c: Likewise. * src/factor.c: Likewise. * src/hostid.c: Likewise.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -