[cs615asa] hashbang
Jan Schaumann
jschauma at cs.stevens.edu
Sat Apr 16 21:24:23 EDT 2011
Hello,
I've just mailed out grades for HW#5 -- if you haven't received a grade,
please let me know.
A number of you lost a point because your script does not have a proper
hashbang. Please review what a hashbang is
(http://en.wikipedia.org/wiki/Shebang_%28Unix%29) and play particular
attention to the part where it says that is only applies if it is the
first two characters of the file.
Otherwise, a text file is executed using /bin/sh. /bin/sh is not
necessarily 'bash', and may or may not implement the $RANDOM variable
(which is a bashism).
-Jan
More information about the cs615asa
mailing list