Paludis Logo Introduction cave  
Bugs, Requests, Support    
Overview    
FAQ    
Clients    
Configuration    
API    

cave print-id-environment-variable

Name

cave-print-id-environment-variable — Prints ID environment variables.

Synopsis

cave print-id-environment-variable --variable-name var [ --format format ] spec

DESCRIPTION

Prints ID environment variables. No formatting is used, making the output suitable for parsing by scripts.

OPTIONS

Global Options

Global options, used by every subcommand.

-h , --help
display help message

Spec Options

Alter how the supplied spec is used.

-a , --all (+a , --no-all)
If the spec matches multiple IDs, display all matches.
-b , --best (+b , --no-best)
If the spec matches multiple IDs, select the best ID rather than giving an error.

Filters

Filter the output. Each filter may be specified more than once.

--variable-name
Show this environment variable. If specified more than once, any name match is accepted. Must be specified at least once.

Display Options

Controls the output format.

--format
Select the output format. Special tokens recognised are %n for variable name, %v for value, \n for newline, \t for tab. Default is '%n=%v\n'.