Bourne Shell Comments Problem

The Polymath hollombe at ttidca.TTI.COM
Sat Sep 24 11:29:59 AEST 1988


In article <292 at dsacng1.UUCP> nab1382 at dsacng1.UUCP (Dick Hauser) writes:
}... The comment indicator (i.e #) is
}in position 1 of the first record of the file.  The comment line
}was followed by a read command for a varibale.  When the shell  
}was executed using "sh -x shellname", everything worked.  But
}when the shell is executed, and execution is not traced, an error
}message "read not found" is displayed.

Sounds like you're executing the wrong shell.  Try using ": #" instead of
"#" for your comments (especially on line 1).  This should force Bourne
shell execution.

-- 
The Polymath (aka: Jerry Hollombe, hollombe at ttidca.tti.com)  Illegitimati Nil
Citicorp(+)TTI                                                 Carborundum
3100 Ocean Park Blvd.   (213) 452-9191, x2483
Santa Monica, CA  90405 {csun|philabs|psivax}!ttidca!hollombe



More information about the Comp.unix.questions mailing list