forked from pool/coreutils
fc6c8bcc8c
- Update to 8.32: * Noteworthy changes in release 8.32 (2020-03-05) [stable] ** Bug fixes cp now copies /dev/fd/N correctly on platforms like Solaris where it is a character-special file whose minor device number is N. [bug introduced in fileutils-4.1.6] dd conv=fdatasync no longer reports a "Bad file descriptor" error when fdatasync is interrupted, and dd now retries interrupted calls to close, fdatasync, fstat and fsync instead of incorrectly reporting an "Interrupted system call" error. [bugs introduced in coreutils-6.0] df now correctly parses the /proc/self/mountinfo file for unusual entries like ones with '\r' in a field value ("mount -t tmpfs tmpfs /foo$'\r'bar"), when the source field is empty ('mount -t tmpfs "" /mnt'), and when the filesystem type contains characters like a blank which need escaping. [bugs introduced in coreutils-8.24 with the introduction of reading the /proc/self/mountinfo file] factor again outputs immediately when stdout is a tty but stdin is not. [bug introduced in coreutils-8.24] ln works again on old systems without O_DIRECTORY support (like Solaris 10), and on systems where symlink ("x", ".") fails with errno == EINVAL (like Solaris 10 and Solaris 11). [bug introduced in coreutils-8.31] rmdir --ignore-fail-on-non-empty now works correctly for directories that fail to be removed due to permission issues. Previously the exit status was reversed, failing for non empty and succeeding for empty directories. [bug introduced in coreutils-6.11] 'shuf -r -n 0 file' no longer mistakenly reads from standard input. [bug introduced with the --repeat feature in coreutils-8.22] split no longer reports a "output file suffixes exhausted" error when the specified number of files is evenly divisible by 10, 16, 26, for --numeric, --hex, or default alphabetic suffixes respectively. [bug introduced in coreutils-8.24] seq no longer prints an extra line under certain circumstances (such as 'seq -f "%g " 1000000 1000000'). [bug introduced in coreutils-6.10] ** Changes in behavior Several programs now check that numbers end properly. For example, 'du -d 1x' now reports an error instead of silently ignoring the 'x'. Affected programs and options include du -d, expr's numeric operands on non-GMP builds, install -g and -o, ls's TABSIZE environment variable, mknod b and c, ptx -g and -w, shuf -n, and sort --batch-size and --parallel. date now parses military time zones in accordance with common usage: "A" to "M" are equivalent to UTC+1 to UTC+12 "N" to "Y" are equivalent to UTC-1 to UTC-12 "Z" is "zulu" time (UTC). For example, 'date -d "09:00B" is now equivalent to 9am in UTC+2 time zone. Previously, military time zones were parsed according to the obsolete rfc822, with their value negated (e.g., "B" was equivalent to UTC-2). [The old behavior was introduced in sh-utils 2.0.15 ca. 1999, predating coreutils package.] ls issues an error message on a removed directory, on GNU/Linux systems. Previously no error and no entries were output, and so indistinguishable from an empty directory, with default ls options. uniq no longer uses strcoll() to determine string equivalence, and so will operate more efficiently and consistently. ** New Features ls now supports the --time=birth option to display and sort by file creation time, where available. od --skip-bytes now can use lseek even if the input is not a regular file, greatly improving performance in some cases. stat(1) supports a new --cached= option, used on systems with statx(2) to control cache coherency of file system attributes, useful on network file systems. ** Improvements stat and ls now use the statx() system call where available, which can operate more efficiently by only retrieving requested attributes. stat and tail now know about the "binderfs", "dma-buf-fs", "erofs", "ppc-cmm-fs", and "z3fold" file systems. stat -f -c%T now reports the file system type, and tail -f uses inotify. ** Build-related gzip-compressed tarballs are distributed once again - Refresh patches: * coreutils-disable_tests.patch * coreutils-getaddrinfo.patch * coreutils-i18n.patch * coreutils-invalid-ids.patch * coreutils-remove_hostname_documentation.patch * coreutils-remove_kill_documentation.patch * coreutils-skip-gnulib-test-tls.patch * coreutils-tests-shorten-extreme-factor-tests.patch - coreutils-i18n.patch: * uniq: remove collation handling as required by newer POSIX; see - https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8e81d44b5 - https://www.austingroupbugs.net/view.php?id=963 - coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch: * Add patch for 'ls' to restore 8.31 behavior on removed directories. - coreutils.spec: * Version: bump version. * %check: re-enable regular 'make check' for non-multibuild package. * reference the above new patch. - coreutils.keyring: * Update from upstream (Savannah). OBS-URL: https://build.opensuse.org/request/show/783998 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=305
127 lines
5.0 KiB
Diff
127 lines
5.0 KiB
Diff
---
|
|
doc/coreutils.texi | 90 -----------------------------------------------------
|
|
1 file changed, 90 deletions(-)
|
|
|
|
Index: doc/coreutils.texi
|
|
===================================================================
|
|
--- doc/coreutils.texi.orig
|
|
+++ doc/coreutils.texi
|
|
@@ -74,7 +74,6 @@
|
|
* id: (coreutils)id invocation. Print user identity.
|
|
* install: (coreutils)install invocation. Copy files and set attributes.
|
|
* join: (coreutils)join invocation. Join lines on a common field.
|
|
-* kill: (coreutils)kill invocation. Send a signal to processes.
|
|
* link: (coreutils)link invocation. Make hard links between files.
|
|
* ln: (coreutils)ln invocation. Make links between files.
|
|
* logname: (coreutils)logname invocation. Print current login name.
|
|
@@ -205,7 +204,6 @@ Free Documentation License''.
|
|
* System context:: date arch nproc uname hostid uptime
|
|
* SELinux context:: chcon runcon
|
|
* Modified command invocation:: chroot env nice nohup stdbuf timeout
|
|
-* Process control:: kill
|
|
* Delaying:: sleep
|
|
* Numeric operations:: factor numfmt seq
|
|
* File permissions:: Access modes
|
|
@@ -453,10 +451,6 @@ Modified command invocation
|
|
* stdbuf invocation:: Run a command with modified I/O buffering
|
|
* timeout invocation:: Run a command with a time limit
|
|
|
|
-Process control
|
|
-
|
|
-* kill invocation:: Sending a signal to processes.
|
|
-
|
|
Delaying
|
|
|
|
* sleep invocation:: Delay for a specified time
|
|
@@ -18089,90 +18083,6 @@ the exit status of @var{command} otherwi
|
|
@end display
|
|
|
|
|
|
-@node Process control
|
|
-@chapter Process control
|
|
-
|
|
-@cindex processes, commands for controlling
|
|
-@cindex commands for controlling processes
|
|
-
|
|
-@menu
|
|
-* kill invocation:: Sending a signal to processes.
|
|
-@end menu
|
|
-
|
|
-
|
|
-@node kill invocation
|
|
-@section @command{kill}: Send a signal to processes
|
|
-
|
|
-@pindex kill
|
|
-@cindex send a signal to processes
|
|
-
|
|
-The @command{kill} command sends a signal to processes, causing them
|
|
-to terminate or otherwise act upon receiving the signal in some way.
|
|
-Alternatively, it lists information about signals. Synopses:
|
|
-
|
|
-@example
|
|
-kill [-s @var{signal} | --signal @var{signal} | -@var{signal}] @var{pid}@dots{}
|
|
-kill [-l | --list | -t | --table] [@var{signal}]@dots{}
|
|
-@end example
|
|
-
|
|
-@mayConflictWithShellBuiltIn{kill}
|
|
-
|
|
-The first form of the @command{kill} command sends a signal to all
|
|
-@var{pid} arguments. The default signal to send if none is specified
|
|
-is @samp{TERM}@. The special signal number @samp{0} does not denote a
|
|
-valid signal, but can be used to test whether the @var{pid} arguments
|
|
-specify processes to which a signal could be sent.
|
|
-
|
|
-If @var{pid} is positive, the signal is sent to the process with the
|
|
-process ID @var{pid}. If @var{pid} is zero, the signal is sent to all
|
|
-processes in the process group of the current process. If @var{pid}
|
|
-is @minus{}1, the signal is sent to all processes for which the user has
|
|
-permission to send a signal. If @var{pid} is less than @minus{}1, the signal
|
|
-is sent to all processes in the process group that equals the absolute
|
|
-value of @var{pid}.
|
|
-
|
|
-If @var{pid} is not positive, a system-dependent set of system
|
|
-processes is excluded from the list of processes to which the signal
|
|
-is sent.
|
|
-
|
|
-If a negative @var{pid} argument is desired as the first one, it
|
|
-should be preceded by @option{--}. However, as a common extension to
|
|
-POSIX, @option{--} is not required with @samp{kill
|
|
--@var{signal} -@var{pid}}. The following commands are equivalent:
|
|
-
|
|
-@example
|
|
-kill -15 -1
|
|
-kill -TERM -1
|
|
-kill -s TERM -- -1
|
|
-kill -- -1
|
|
-@end example
|
|
-
|
|
-The first form of the @command{kill} command succeeds if every @var{pid}
|
|
-argument specifies at least one process that the signal was sent to.
|
|
-
|
|
-The second form of the @command{kill} command lists signal information.
|
|
-Either the @option{-l} or @option{--list} option, or the @option{-t}
|
|
-or @option{--table} option must be specified. Without any
|
|
-@var{signal} argument, all supported signals are listed. The output
|
|
-of @option{-l} or @option{--list} is a list of the signal names, one
|
|
-per line; if @var{signal} is already a name, the signal number is
|
|
-printed instead. The output of @option{-t} or @option{--table} is a
|
|
-table of signal numbers, names, and descriptions. This form of the
|
|
-@command{kill} command succeeds if all @var{signal} arguments are valid
|
|
-and if there is no output error.
|
|
-
|
|
-The @command{kill} command also supports the @option{--help} and
|
|
-@option{--version} options. @xref{Common options}.
|
|
-
|
|
-A @var{signal} may be a signal name like @samp{HUP}, or a signal
|
|
-number like @samp{1}, or an exit status of a process terminated by the
|
|
-signal. A signal name can be given in canonical form or prefixed by
|
|
-@samp{SIG}@. The case of the letters is ignored, except for the
|
|
-@option{-@var{signal}} option which must use upper case to avoid
|
|
-ambiguity with lower case option letters.
|
|
-@xref{Signal specifications}, for a list of supported
|
|
-signal names and numbers.
|
|
-
|
|
@node Delaying
|
|
@chapter Delaying
|
|
|