I have a code that contain this line:
set file = "" #empty
what does it mean?
The line comes from a
csh shell script. It sets the variable
file to an empty string. The
#empty at the end of the line is a comment. However, the
csh shell does not like comments in this context and will complain with
set: Variable name must begin with a letter.
To correct this, move the comment to the line before the assignment:
# set 'file' to an empty string set file=""