#236: GetComponents should abort on undefined variables ----------------------------+----------------------------------------------- Reporter: knarf | Owner: eric9 Type: defect | Status: accepted Priority: minor | Milestone: Component: GetComponents | Version: Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by knarf):
I don't think that anyone would choose directory names starting with '$', however, if possible I wouldn't make it impossible to use them. In addition, someone could actually try to use an environment variable. Could GetComponents do this: produce a warning/error if an undefined $VAR is detected _and_ no environment variable of that name is defined. If an env- variable is defined: let the shell deal with it. Otherwise error out because the use of a simple, unescaped '$' without a CRL definition or an environment variable has to be a mistake and would not work in any case. I would then make '$' escapeable by '$', or single quotes.