1ENVSUBST(1)                      User Commands                     ENVSUBST(1)
2
3
4

NAME

6       envsubst - substitutes environment variables in shell format strings
7

SYNOPSIS

9       envsubst [OPTION] [SHELL-FORMAT]
10

DESCRIPTION

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
28       SHELL-FORMAT is given, only those environment variables that are refer‐
29       enced  in SHELL-FORMAT are substituted; otherwise all environment vari‐
30       ables 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

AUTHOR

37       Written by Bruno Haible.
38

REPORTING BUGS

40       Report    bugs    in    the    bug    tracker    at     <https://savan
41       nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
42
44       Copyright  ©  2003-2020 Free Software Foundation, Inc.  License GPLv3+:
45       GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
46       This is free software: you are free  to  change  and  redistribute  it.
47       There is NO WARRANTY, to the extent permitted by law.
48

SEE ALSO

50       The  full documentation for envsubst is maintained as a Texinfo manual.
51       If the info and envsubst programs are properly installed at your  site,
52       the command
53
54              info envsubst
55
56       should give you access to the complete manual.
57
58
59
60GNU gettext-runtime 0.20.2        April 2020                       ENVSUBST(1)
Impressum