bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] Is there a way to generate an error message when an env va


From: Peng Yu
Subject: [bug-gettext] Is there a way to generate an error message when an env variable is not available? (envsubst)
Date: Fri, 25 Nov 2016 18:28:28 -0600

Hi, xxx is not defined in the enviroment. I'd like envsubst to show an
error message. But there is not such an option available as of now.
Can this feature be added?

~$ cat template.txt
The word is $foo
The word is $xxxx
~$ word=foo envsubst < template.txt
The word is foo
The word is

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]