| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH ENVSUBST "1" "July 2025" "GNU gettext-runtime 0.26" "User Commands" |
| 3 |
.SH NAME |
| 4 |
envsubst \- substitutes environment variables in shell format strings |
| 5 |
.SH SYNOPSIS |
| 6 |
.B envsubst |
| 7 |
[\fI\,OPTION\/\fR] [\fI\,SHELL-FORMAT\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Substitutes the values of environment variables. |
| 12 |
.SS "Operation mode:" |
| 13 |
.TP |
| 14 |
\fB\-v\fR, \fB\-\-variables\fR |
| 15 |
output the variables occurring in SHELL\-FORMAT |
| 16 |
.SS "Informative output:" |
| 17 |
.TP |
| 18 |
\fB\-h\fR, \fB\-\-help\fR |
| 19 |
display this help and exit |
| 20 |
.TP |
| 21 |
\fB\-V\fR, \fB\-\-version\fR |
| 22 |
output version information and exit |
| 23 |
.PP |
| 24 |
In normal operation mode, standard input is copied to standard output, |
| 25 |
with references to environment variables of the form $VARIABLE or ${VARIABLE} |
| 26 |
being replaced with the corresponding values. If a SHELL\-FORMAT is given, |
| 27 |
only those environment variables that are referenced in SHELL\-FORMAT are |
| 28 |
substituted; otherwise all environment variables references occurring in |
| 29 |
standard input are substituted. |
| 30 |
.PP |
| 31 |
When \fB\-\-variables\fR is used, standard input is ignored, and the output consists |
| 32 |
of the environment variables that are referenced in SHELL\-FORMAT, one per line. |
| 33 |
.SH AUTHOR |
| 34 |
Written by Bruno Haible. |
| 35 |
.SH "REPORTING BUGS" |
| 36 |
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 37 |
or by email to <bug\[email protected]>. |
| 38 |
.SH COPYRIGHT |
| 39 |
Copyright \(co 2003\-2025 Free Software Foundation, Inc. |
| 40 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 41 |
.br |
| 42 |
This is free software: you are free to change and redistribute it. |
| 43 |
There is NO WARRANTY, to the extent permitted by law. |
| 44 |
.SH "SEE ALSO" |
| 45 |
The full documentation for |
| 46 |
.B envsubst |
| 47 |
is maintained as a Texinfo manual. If the |
| 48 |
.B info |
| 49 |
and |
| 50 |
.B envsubst |
| 51 |
programs are properly installed at your site, the command |
| 52 |
.IP |
| 53 |
.B info envsubst |
| 54 |
.PP |
| 55 |
should give you access to the complete manual. |