Bourne Shell Comments Problem

Ssi ssi at usfvax2.EDU
Fri Sep 23 12:13:53 AEST 1988


>> The fist character on the first line of a shell script is '#'
>> My  Bourne Shell script does not run right.

The problem is just that. Placing a '#' there means you want to
run the script in the csh shell. read is not a csh command.
The rest of what's in your script probably isn't either.
I think you can start your script with :
#!/bin/sh      
and it will run as you would think.
Or you can put a dummy command on line 1.

                      Greg Ripp Ph (813)628-6100



More information about the Comp.unix.questions mailing list