bce8f29a0e
- Sync patches with Debian and Fedora: * Add man page (time.1). * Less nonverbose output (time-fedora-verbose.patch). * Fix maximal RSS report (time-fedora-ru_maxrss-is-in-kilobytes-on-Linux.patch, bnc#836049, Redhat#702826). * Switch to microsecond accuracy if miliseconds arithmetic rounds to zero (time-fedora-Recompute-CPU-usage-at-microsecond-level.patch, Redhat#527276). * When time exits in a non-normal way, return 128 plus the number of the signal which caused time to stop or abort (time-debian-non-normal-exit.patch). * struct rusage and sys/resource.h portability fix (time-debian-rusage-portability.patch, Debian#144819). * Add -q,--quiet functionality (time-debian-quiet.patch, Debian#56853). * Update bug reporting address (time-debian-bug-address.patch, Debian#542469). * Modernize the configure.in file to current autoconf style (time-debian-configure.patch). * Add a directory entry to the info page (time-debian-info-direntry.patch). - Fix FSF address (time-fsf-address.patch). - Update Summary. - Rename time-1.7.diff to time-alpha.patch. ... And cherry pick changelog entries relevant to time. OBS-URL: https://build.opensuse.org/request/show/198137 OBS-URL: https://build.opensuse.org/package/show/Base:System/time?expand=0&rev=3
120 lines
3.2 KiB
Diff
120 lines
3.2 KiB
Diff
Description: Fix info navigation structure
|
|
In the original when using the standalone 'info' program pressing
|
|
spacebar does not navigate through the pages. This patch
|
|
restructures the node navigation somewhat to enable this to happen.
|
|
Reported by Russ Allbery.
|
|
Author: Bob Proulx
|
|
|
|
--- a/time.texi
|
|
+++ b/time.texi
|
|
@@ -70,7 +70,10 @@
|
|
by the Foundation.
|
|
@end titlepage
|
|
|
|
-@node Top, , (dir), (dir)
|
|
+@contents
|
|
+
|
|
+@node Top
|
|
+@top The GNU @code{time} Command
|
|
|
|
@ifinfo
|
|
This file documents the the GNU @code{time} command for running programs
|
|
@@ -80,30 +83,12 @@
|
|
|
|
@menu
|
|
* Resource Measurement:: Measuring program resource use.
|
|
-
|
|
- --- The Detailed Node Listing ---
|
|
-
|
|
-Measuring Program Resource Use
|
|
-
|
|
-* Setting Format:: Selecting the information reported by @code{time}.
|
|
-* Format String:: The information @code{time} can report.
|
|
-* Redirecting:: Writing the information to a file.
|
|
-* Examples:: Examples of using @code{time}.
|
|
-* Accuracy:: Limitations on the accuracy of @code{time} output.
|
|
-* Invoking time:: Summary of the options to the @code{time} command.
|
|
-
|
|
-The Format String
|
|
-
|
|
-* Time Resources::
|
|
-* Memory Resources::
|
|
-* I/O Resources::
|
|
-* Command Info::
|
|
+* Concept index:: Index of concepts.
|
|
@end menu
|
|
|
|
-@node Resource Measurement, , , Top
|
|
+@node Resource Measurement
|
|
@chapter Measuring Program Resource Use
|
|
-@findex time
|
|
-@kindex time
|
|
+@cindex time invocation
|
|
@pindex time
|
|
@pindex measurement
|
|
|
|
@@ -125,7 +110,7 @@
|
|
time @r{[}option@dots{}@r{]} @var{command} @r{[}@var{arg}@dots{}@r{]}
|
|
@end example
|
|
|
|
-@kindex resources
|
|
+@cindex resource specifiers
|
|
@code{time} runs the program @var{command}, with any given arguments
|
|
@var{arg}@dots{}. When @var{command} finishes, @code{time} displays
|
|
information about resources used by @var{command}.
|
|
@@ -197,7 +182,7 @@
|
|
|
|
@item -v
|
|
@itemx --verbose
|
|
-@cindex format
|
|
+@cindex verbose format
|
|
Use the built-in verbose format, which displays each available piece of
|
|
information on the program's resource use on its own line, with an
|
|
English description of its meaning.
|
|
@@ -207,7 +192,6 @@
|
|
@section The Format String
|
|
|
|
@cindex format
|
|
-@kindex resource
|
|
The @dfn{format string} controls the contents of the @code{time} output.
|
|
It consists of @dfn{resource specifiers} and @dfn{escapes}, interspersed
|
|
with plain text.
|
|
@@ -450,7 +434,7 @@
|
|
|
|
@node Accuracy
|
|
@section Accuracy
|
|
-@kindex error (in measurement)
|
|
+@cindex error (in measurement)
|
|
|
|
The elapsed time is not collected atomically with the execution of the
|
|
program; as a result, in bizarre circumstances (if the @code{time}
|
|
@@ -489,7 +473,7 @@
|
|
time @r{[}option@dots{}@r{]} @var{command} @r{[}@var{arg}@dots{}@r{]}
|
|
@end example
|
|
|
|
-@kindex resources
|
|
+@cindex resources
|
|
@code{time} runs the program @var{command}, with any given arguments
|
|
@var{arg}@dots{}. When @var{command} finishes, @code{time} displays
|
|
information about resources used by @var{command} (on the standard error
|
|
@@ -524,7 +508,7 @@
|
|
|
|
@item -v
|
|
@itemx --verbose
|
|
-@cindex format
|
|
+@cindex verbose option
|
|
Use the built-in verbose format.
|
|
|
|
@item -V
|
|
@@ -533,5 +517,9 @@
|
|
Print the version number of @code{time} and exit.
|
|
@end table
|
|
|
|
-@contents
|
|
+@node Concept index
|
|
+@unnumbered Concept index
|
|
+
|
|
+@printindex cp
|
|
+
|
|
@bye
|