X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/24f6490f4ba3572069619d88e053db5cb07e846c..cb7fce24492ff6e0b7df0f33e2ac47970b4281dd:/doc/apt-config.8.xml diff --git a/doc/apt-config.8.xml b/doc/apt-config.8.xml index ae29ddb66..cf2e87c62 100644 --- a/doc/apt-config.8.xml +++ b/doc/apt-config.8.xml @@ -1,18 +1,26 @@ - -%aptent; - + %aptent; + %aptverbatiment; + %aptvendor; ]> - &apt-docinfo; + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 2013-11-30T00:00:00Z + apt-config 8 + APT @@ -21,38 +29,26 @@ APT Configuration Query program - - - - apt-config - - - - - shell - dump - - - - + &synopsis-command-apt-config; + Description 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. + given, one of the commands below must be present. - shell + - 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: @@ -72,7 +68,7 @@ eval $RES - dump + Just show the contents of the configuration space. @@ -85,15 +81,29 @@ eval $RES &apt-cmdblurb; - + + + Include options which have an empty value. This is the default, so + use --no-empty to remove them from the output. + + + + + 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 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 %%. + + &apt-commonoptions; See Also - - &apt-conf; + &apt-conf; @@ -103,7 +113,6 @@ eval $RES &manbugs; - &manauthor;