diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2012-06-11 15:13:24 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2012-06-11 15:13:24 -0700 |
commit | 825098c2740b2d5ebea0c16c43685f55da201315 (patch) | |
tree | b3a43f792cca021a79f541a9454e0223e4dca9cb /doc/apt-config.8.xml | |
parent | 310ed3c13d5cfd2a3c46741539f652d69bda5d30 (diff) | |
parent | e08c5854bb9b5f352b0856533f95c12e858728ca (diff) |
Merge version 0.9.6 from Debian
Diffstat (limited to 'doc/apt-config.8.xml')
-rw-r--r-- | doc/apt-config.8.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/apt-config.8.xml b/doc/apt-config.8.xml index a7164b4e7..39205e737 100644 --- a/doc/apt-config.8.xml +++ b/doc/apt-config.8.xml @@ -18,7 +18,7 @@ &apt-email; &apt-product; <!-- The last update date --> - <date>2012-05-11T00:00:00Z</date> + <date>2012-06-09T00:00:00Z</date> </refentryinfo> <refmeta> @@ -39,7 +39,7 @@ <para><command>apt-config</command> is an internal program used by various portions of the APT suite to provide consistent configurability. It accesses the main configuration file <filename>/etc/apt/apt.conf</filename> in a - manner that is easy to use by scripted applications.</para> + manner that is easy to use for scripted applications.</para> <para>Unless the <option>-h</option>, or <option>--help</option> option is given, one of the commands below must be present. @@ -48,11 +48,11 @@ <variablelist> <varlistentry><term><option>shell</option></term> <listitem><para> - shell is used to access the configuration information from a shell - script. It is given pairs of arguments, the first being a shell - variable and the second the configuration value to query. As output - it lists a series of shell assignments commands for each present value. - In a shell script it should be used like: + shell is used to access the configuration information from a shell + script. It is given pairs of arguments, the first being a shell + variable and the second the configuration value to query. As output + it lists shell assignment commands for each value present. + In a shell script it should be used as follows: </para> <informalexample><programlisting> @@ -93,11 +93,11 @@ eval $RES <varlistentry> <term><option>--format '<replaceable>%f "%v";%n</replaceable>'</option></term> - <listitem><para>Defines the output of each config option. %t will be replaced with the name of the option, - %f with the complete optionname and %v with the value of the option. + <listitem><para>Defines the output of each config option. %t will be replaced with its individual name, + %f with its full hierarchical name and %v with its value. Use uppercase letters and special characters in the value will be encoded to ensure that - it can e.g. be savely used in a quoted-string as defined by RFC822. Additionally - %n will be replaced by a newline, %N by a tab. A % can be + it can e.g. be safely used in a quoted-string as defined by RFC822. Additionally + %n will be replaced by a newline, and %N by a tab. A % can be printed by using %%.</para></listitem> </varlistentry> |