Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!apple!voder!pyramid!prls!philabs!ttidca!hollombe From: hollombe@ttidca.TTI.COM (The Polymath) Newsgroups: comp.unix.questions Subject: Re: Bourne Shell Comments Problem Keywords: Bourne Shell UNIX Problem Message-ID: <3214@ttidca.TTI.COM> Date: 24 Sep 88 01:29:59 GMT References: <292@dsacng1.UUCP> Reply-To: hollombe@ttidcb.tti.com (The Polymath) Organization: The Cat Factory Lines: 17 In article <292@dsacng1.UUCP> nab1382@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@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