Age | Commit message (Collapse) | Author |
|
only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.
|
|
silently ignores the '-f' only if standard input is a FIFO or pipe
and POSIXLY_CORRECT is set.
|
|
|
|
|
|
|
|
information if seq's operands are all fixed point decimal numbers.
You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
for example, since the default format now has the same effect.
seq now lets you use %a, %A, %E, %F, and %G formats.
seq now uses long double internally rather than double.
|
|
internally rather than double. It now defaults to a minimal fixed
point format if possible. It lets you use %a, %A, %E, %F, %G.
Don't assume printf doesn't work for numbers that fit in 64 but
not 32 bits; typically they work these days. Improve discussion
of large integers and update the rounding-error numbers.
|
|
both double and long double versions.
(XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
|
|
|
|
Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
want to require the building of c-strtod.o.
|
|
needs -lm directly.
|
|
|
|
|
|
|
|
(isfinite) [!defined isfinite]: New macro.
(separator, terminator): Now points to const.
(first, step, last): Remove.
(usage): Update to match new behavior.
(struct operand, operand): New type.
(scan_arg): Renamed from scan_double_arg, since we no longer use double.
All uses changed.
Compute and return a value of type operand, not double.
(long_double_format): Renamed from valid_format, and now returns a
new format with an "L" added if needed, if the original format was
valid. Allow %a, %A, %E, %F, and %G formats.
(print_numbers): Take numeric values as args rather than from globals.
Print long double, not double.
(get_width_format): Remove.
(get_default_format): New function.
(main): Implement new way of calculating default format.
Don't worry about locale's representation of the decimal point, since
the arguments are always processed in the C locale.
|
|
(eq-wid-1, eq-wid-2): Resurrect these tests, since the new
implementation should do the right thing.
|
|
|
|
on HP-UX 11.11. Report and analysis from Bob Proulx.
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7475
|
|
* lib/strftime.c: Assume strftime exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.
|
|
conforming to POSIX 1003.1-2001, since this is a pure extension to
POSIX.
|
|
even when conforming to POSIX 1003.1-2001.
|
|
even when conforming to POSIX 1003.1-2001, since this is a pure
extension to POSIX.
|
|
POSIX 1003.1-2001.
|
|
|
|
|
|
|
|
|
|
|
|
Require Autoconf 2.60.
|
|
|
|
|
|
|
|
|
|
(set -x when VERBOSE=yes) when stderr is redirected before stdout
causing shell tracing of the stdout redirection to be written to
the stderr file. Avoid problem and test failure on HP-UX by
redirecting stderr last.
* tests/dd/unblock-sync: Order shell file redirections for
stderr and stdout in the common style.
tests/acl: Likewise.
|
|
|
|
From Padraig Brady.
|
|
differences in frequently-changing /proc/cpuinfo.
Reported by Nelson Beebe.
|
|
the example. Suggestion from Bob Proulx.
|
|
fd_to_subdirp failure, not just when errno == EACCES.
* src/remove.c (remove_dir): Use unlinkat-with-AT_REMOVEDIR, not
rmdir, here, even though rmdir may happen to be adequate.
|
|
* src/remove.c (remove_cwd_entries): If we can't open a directory,
and the failure is not being ignored, try to remove the directory
with rmdir (aka unlinkat-with-AT_REMOVEDIR), in case it's empty.
Problem report and test case from Paul Eggert in
<http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7425>.
* tests/rm/empty-inacc: New test, for the above.
|
|
|
|
|
|
* src/wc.c (compute_number_width): Return right away if nfiles == 0.
|
|
|
|
|
|
contains a list of NUL-separated file names.
* src/wc.c: Include "readtokens.h".
(usage): Describe the new option, and adjust the `Usage':
with this option, no FILE may be specified on the command line.
(main): Handle the new option.
* tests/misc/wc-files0: New tests, for the above.
* tests/misc/wc-files0-from: Likewise.
* tests/misc/Makefile.am (TESTS): Add wc-files0.
|
|
multiple arguments and suffixes are extensions.
Reported by Dan Jacobson.
|
|
|
|
the function in glibc's <fcntl.h>. Reported by Andreas Schwab.
|
|
|