From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
Setting a variable with a "-" gives
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.setenv a-b /c
Actual Results: polk% setenv a-b /c
setenv: Syntax Error.
I beleave other shells are affected as well..
bash: A-B=/C: No such file or directory
zsh: no such file or directory: A-B=/C
According to bash man page:
name - A word consisting only of alphanumeric characters and underscores and
beginning with an alphabetic character or an underscore. Also referred to as an
The above applies to both function and variable names and therefore '-' cannot
be used in them.
I can't find it for tcsh but I am quite sure the same applies.
This is not a fault.
Closing as 'notabug'