bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: table of contents of manual contains mistake


From: Pádraig Brady
Subject: Re: table of contents of manual contains mistake
Date: Mon, 27 Jul 2009 02:30:05 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Benno Schulenberg wrote:
> Hi,
> 
> Instead of showing the six system-context commands under section 21
> (http://www.gnu.org/software/coreutils/manual/html_node/index.html#toc_System-context)
> they are shown under section 22 (SELinux context) and in a slightly
> different order.  Maybe a newer makeinfo is needed?

I still see the same issue under makeinfo 4.13.
I've reordered things in the attached patch.

cheers,
Pádraig.
>From a1412a0560fe605bf502093e7743c7b6f997f9e8 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
Date: Mon, 27 Jul 2009 02:24:03 +0100
Subject: [PATCH] doc: fix the generated HTML index

* doc/coreutils.texi: Move the "SELinux context" section
down below the "System context" nodes so that the HTML
index is generated correctly. Also some extraneous and missing
'.' characters were corrected in the index.
Reported by Benno Schulenberg.
---
 doc/coreutils.texi |  352 ++++++++++++++++++++++++++--------------------------
 1 files changed, 176 insertions(+), 176 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index a804adb..0735e4b 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2006,7 +2006,7 @@ address.
 @exitstatus
 
 @node base64 invocation
address@hidden @command{base64}: Transform data into printable data.
address@hidden @command{base64}: Transform data into printable data
 
 @pindex base64
 @cindex base64 encoding
@@ -13125,186 +13125,14 @@ This section describes commands that print or change 
system-wide
 information.
 
 @menu
-* arch invocation::             Print machine hardware name.
 * date invocation::             Print or set system date and time.
+* arch invocation::             Print machine hardware name.
 * uname invocation::            Print system information.
 * hostname invocation::         Print or set system name.
 * hostid invocation::           Print numeric host identifier.
-* uptime invocation::           Print system uptime and load
address@hidden menu
-
address@hidden SELinux context
address@hidden SELinux context
-
address@hidden SELinux context
address@hidden SELinux, context
address@hidden commands for SELinux context
-
-This section describes commands for operations with SELinux
-contexts.
-
address@hidden
-* chcon invocation::            Change SELinux context of file
-* runcon invocation::           Run a command in specified SELinux context
+* uptime invocation::           Print system uptime and load.
 @end menu
 
address@hidden chcon invocation
address@hidden @command{chcon}: Change SELinux context of file.
-
address@hidden chcon
address@hidden changing security context
address@hidden change SELinux context
-
address@hidden changes the SELinux security context of the selected files.
-Synopses:
-
address@hidden
-chcon address@hidden@dots{} @var{context} @address@hidden
-chcon address@hidden@dots{} [-u @var{user}] [-r @var{role}] [-l @var{range}] 
[-t @var{type}] @address@hidden
-chcon address@hidden@dots{} address@hidden @address@hidden
address@hidden smallexample
-
-Change the SELinux security context of each @var{file} to @var{context}.
-With @option{--reference}, change the security context of each @var{file}
-to that of @var{rfile}.
-
-The program accepts the following options.  Also see @ref{Common options}.
-
address@hidden @samp
-
address@hidden -h
address@hidden --no-dereference
address@hidden -h
address@hidden --no-dereference
address@hidden no dereference
-Affect symbolic links instead of any referenced file.
-
address@hidden address@hidden
address@hidden --reference
address@hidden reference file
-Use @var{rfile}'s security context rather than specifying a @var{context} 
value.
-
address@hidden -R
address@hidden --recursive
address@hidden -R
address@hidden --recursive
-Operate on files and directories recursively.
-
address@hidden
address@hidden symlinks}.
-
address@hidden
address@hidden symlinks}.
-
address@hidden
address@hidden symlinks}.
-
address@hidden -v
address@hidden --verbose
address@hidden -v
address@hidden --verbose
address@hidden diagnostic
-Output a diagnostic for every file processed.
-
address@hidden -u @var{user}
address@hidden address@hidden
address@hidden -u
address@hidden --user
-Set user @var{user} in the target security context.
-
address@hidden -r @var{role}
address@hidden address@hidden
address@hidden -r
address@hidden --role
-Set role @var{role} in the target security context.
-
address@hidden -t @var{type}
address@hidden address@hidden
address@hidden -t
address@hidden --type
-Set type @var{type} in the target security context.
-
address@hidden -l @var{range}
address@hidden address@hidden
address@hidden -l
address@hidden --range
-Set range @var{range} in the target security context.
-
address@hidden table
-
address@hidden
-
address@hidden runcon invocation
address@hidden @command{runcon}: Run a command in specified SELinux context
-
address@hidden runcon
address@hidden run with security context
-
-
address@hidden runs file in specified SELinux security context.
-
-Synopses:
address@hidden
-runcon @var{context} @var{command} address@hidden
-runcon [ -c ] [-u @var{user}] [-r @var{role}] [-t @var{type}] [-l @var{range}] 
@var{command} address@hidden
address@hidden smallexample
-
-Run @var{command} with completely-specified @var{context}, or with
-current or transitioned security context modified by one or more of 
@var{level},
address@hidden, @var{type} and @var{user}.
-
-If none of @option{-c}, @option{-t}, @option{-u}, @option{-r}, or @option{-l}
-is specified, the first argument is used as the complete context.
-Any additional arguments after @var{command}
-are interpreted as arguments to the command.
-
-With neither @var{context} nor @var{command}, print the current security 
context.
-
-The program accepts the following options.  Also see @ref{Common options}.
-
address@hidden @samp
-
address@hidden -c
address@hidden --compute
address@hidden -c
address@hidden --compute
-Compute process transition context before modifying.
-
address@hidden -u @var{user}
address@hidden address@hidden
address@hidden -u
address@hidden --user
-Set user @var{user} in the target security context.
-
address@hidden -r @var{role}
address@hidden address@hidden
address@hidden -r
address@hidden --role
-Set role @var{role} in the target security context.
-
address@hidden -t @var{type}
address@hidden address@hidden
address@hidden -t
address@hidden --type
-Set type @var{type} in the target security context.
-
address@hidden -l @var{range}
address@hidden address@hidden
address@hidden -l
address@hidden --range
-Set range @var{range} in the target security context.
-
address@hidden table
-
address@hidden exit status of @command{runcon}
-Exit status:
-
address@hidden
-126 if @var{command} is found but cannot be invoked
-127 if @command{runcon} itself fails or if @var{command} cannot be found
-the exit status of @var{command} otherwise
address@hidden display
-
 @node date invocation
 @section @command{date}: Print or set system date and time
 
@@ -14112,7 +13940,7 @@ options}.
 
 
 @node hostid invocation
address@hidden @command{hostid}: Print numeric host identifier.
address@hidden @command{hostid}: Print numeric host identifier
 
 @pindex hostid
 @cindex printing the host identifier
@@ -14166,6 +13994,178 @@ also include processes in the uninterruptible sleep 
state (that is,
 those processes which are waiting for disk I/O).  The Linux kernel
 includes uninterruptible processes.
 
address@hidden SELinux context
address@hidden SELinux context
+
address@hidden SELinux context
address@hidden SELinux, context
address@hidden commands for SELinux context
+
+This section describes commands for operations with SELinux
+contexts.
+
address@hidden
+* chcon invocation::            Change SELinux context of file
+* runcon invocation::           Run a command in specified SELinux context
address@hidden menu
+
address@hidden chcon invocation
address@hidden @command{chcon}: Change SELinux context of file
+
address@hidden chcon
address@hidden changing security context
address@hidden change SELinux context
+
address@hidden changes the SELinux security context of the selected files.
+Synopses:
+
address@hidden
+chcon address@hidden@dots{} @var{context} @address@hidden
+chcon address@hidden@dots{} [-u @var{user}] [-r @var{role}] [-l @var{range}] 
[-t @var{type}] @address@hidden
+chcon address@hidden@dots{} address@hidden @address@hidden
address@hidden smallexample
+
+Change the SELinux security context of each @var{file} to @var{context}.
+With @option{--reference}, change the security context of each @var{file}
+to that of @var{rfile}.
+
+The program accepts the following options.  Also see @ref{Common options}.
+
address@hidden @samp
+
address@hidden -h
address@hidden --no-dereference
address@hidden -h
address@hidden --no-dereference
address@hidden no dereference
+Affect symbolic links instead of any referenced file.
+
address@hidden address@hidden
address@hidden --reference
address@hidden reference file
+Use @var{rfile}'s security context rather than specifying a @var{context} 
value.
+
address@hidden -R
address@hidden --recursive
address@hidden -R
address@hidden --recursive
+Operate on files and directories recursively.
+
address@hidden
address@hidden symlinks}.
+
address@hidden
address@hidden symlinks}.
+
address@hidden
address@hidden symlinks}.
+
address@hidden -v
address@hidden --verbose
address@hidden -v
address@hidden --verbose
address@hidden diagnostic
+Output a diagnostic for every file processed.
+
address@hidden -u @var{user}
address@hidden address@hidden
address@hidden -u
address@hidden --user
+Set user @var{user} in the target security context.
+
address@hidden -r @var{role}
address@hidden address@hidden
address@hidden -r
address@hidden --role
+Set role @var{role} in the target security context.
+
address@hidden -t @var{type}
address@hidden address@hidden
address@hidden -t
address@hidden --type
+Set type @var{type} in the target security context.
+
address@hidden -l @var{range}
address@hidden address@hidden
address@hidden -l
address@hidden --range
+Set range @var{range} in the target security context.
+
address@hidden table
+
address@hidden
+
address@hidden runcon invocation
address@hidden @command{runcon}: Run a command in specified SELinux context
+
address@hidden runcon
address@hidden run with security context
+
+
address@hidden runs file in specified SELinux security context.
+
+Synopses:
address@hidden
+runcon @var{context} @var{command} address@hidden
+runcon [ -c ] [-u @var{user}] [-r @var{role}] [-t @var{type}] [-l @var{range}] 
@var{command} address@hidden
address@hidden smallexample
+
+Run @var{command} with completely-specified @var{context}, or with
+current or transitioned security context modified by one or more of 
@var{level},
address@hidden, @var{type} and @var{user}.
+
+If none of @option{-c}, @option{-t}, @option{-u}, @option{-r}, or @option{-l}
+is specified, the first argument is used as the complete context.
+Any additional arguments after @var{command}
+are interpreted as arguments to the command.
+
+With neither @var{context} nor @var{command}, print the current security 
context.
+
+The program accepts the following options.  Also see @ref{Common options}.
+
address@hidden @samp
+
address@hidden -c
address@hidden --compute
address@hidden -c
address@hidden --compute
+Compute process transition context before modifying.
+
address@hidden -u @var{user}
address@hidden address@hidden
address@hidden -u
address@hidden --user
+Set user @var{user} in the target security context.
+
address@hidden -r @var{role}
address@hidden address@hidden
address@hidden -r
address@hidden --role
+Set role @var{role} in the target security context.
+
address@hidden -t @var{type}
address@hidden address@hidden
address@hidden -t
address@hidden --type
+Set type @var{type} in the target security context.
+
address@hidden -l @var{range}
address@hidden address@hidden
address@hidden -l
address@hidden --range
+Set range @var{range} in the target security context.
+
address@hidden table
+
address@hidden exit status of @command{runcon}
+Exit status:
+
address@hidden
+126 if @var{command} is found but cannot be invoked
+127 if @command{runcon} itself fails or if @var{command} cannot be found
+the exit status of @var{command} otherwise
address@hidden display
+
 @node Modified command invocation
 @chapter Modified command invocation
 
-- 
1.6.2.5


reply via email to

[Prev in Thread] Current Thread [Next in Thread]