How to manage the expansion of empty or unset bash variables

Posted by linuxer on Oct 8, 2018 6:21 PM
By linuxconfig.org
Mail this story
Web version

Variables expansion is one of the most common feature used in the shell: when a variable exists and is part of a command, it is "expanded", so that is substituted by its value. The expansion of empty variables, is one of those things, that if not well managed, could cause serious damage to a system.

Full Story

Printed at http://lxer.com/module/newswire/view/261477/index.html