jrwren | anyone know if bash has a mode to warn or err on use of an unused var when in interactive mode? | 18:12 |
---|---|---|
cmaloney | I'm not aware of any warnings of bash for non-interactive mode | 18:14 |
cmaloney | let alone interactive | 18:14 |
cmaloney | https://stackoverflow.com/questions/41020844/how-can-i-make-bash-treat-undefined-variables-as-errors | 18:16 |
jrwren | set -u | 18:26 |
jrwren | i should just always role with set -u | 18:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!