X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4c86a6348d9916b6404709452affa10e9c776efa..850ad02657c096fb227b38ef6d691fcf20acd619:/doc/apt-config.8.xml?ds=sidebyside diff --git a/doc/apt-config.8.xml b/doc/apt-config.8.xml index a7164b4e7..cf2e87c62 100644 --- a/doc/apt-config.8.xml +++ b/doc/apt-config.8.xml @@ -1,13 +1,9 @@ -%aptent; - - -%aptverbatiment; - + %aptent; + %aptverbatiment; + %aptvendor; ]> @@ -18,7 +14,7 @@ &apt-email; &apt-product; - 2012-05-11T00:00:00Z + 2013-11-30T00:00:00Z @@ -39,7 +35,7 @@ apt-config is an internal program used by various portions of the APT suite to provide consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a - manner that is easy to use by scripted applications. + manner that is easy to use for scripted applications. Unless the , or option is given, one of the commands below must be present. @@ -48,11 +44,11 @@ - 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: @@ -93,11 +89,11 @@ eval $RES - 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. + 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 %%.