1ENVSUBST(1) GNU ENVSUBST(1)
2
3
4
6 envsubst - substitutes environment variables in shell format strings
7
9 envsubst [OPTION] [SHELL-FORMAT]
10
12 Substitutes the values of environment variables.
13
14 Operation mode:
15 -v, --variables
16 output the variables occurring in SHELL-FORMAT
17
18 Informative output:
19 -h, --help
20 display this help and exit
21
22 -V, --version
23 output version information and exit
24
25 In normal operation mode, standard input is copied to standard output,
26 with references to environment variables of the form $VARIABLE or
27 ${VARIABLE} being replaced with the corresponding values. If a SHELL-
28 FORMAT is given, only those environment variables that are referenced
29 in SHELL-FORMAT are substituted; otherwise all environment variables
30 references occurring in standard input are substituted.
31
32 When --variables is used, standard input is ignored, and the output
33 consists of the environment variables that are referenced in SHELL-FOR‐
34 MAT, one per line.
35
37 Written by Bruno Haible.
38
40 Report bugs to <bug-gnu-gettext@gnu.org>.
41
43 Copyright © 2003-2007 Free Software Foundation, Inc. License GPLv3+:
44 GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
45 This is free software: you are free to change and redistribute it.
46 There is NO WARRANTY, to the extent permitted by law.
47
49 The full documentation for envsubst is maintained as a Texinfo manual.
50 If the info and envsubst programs are properly installed at your site,
51 the command
52
53 info envsubst
54
55 should give you access to the complete manual.
56
57
58
59GNU gettext-runtime 0.17 November 2007 ENVSUBST(1)