*BSD News Article 24274


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!cs.utexas.edu!not-for-mail
From: Clarence.Chu@f132.n700.z6.ftn.air.org (Clarence Chu)
Newsgroups: comp.os.386bsd.bugs
Subject: #!/bin/sh -x
Date: 21 Nov 1993 05:12:31 -0600
Organization: UTexas Mail-to-News Gateway
Lines: 24
Sender: daemon@cs.utexas.edu
Message-ID: <753880207.AA06855@f74.n700.z6.ftn.air.org>
NNTP-Posting-Host: news.cs.utexas.edu

TO: byron
hi pal,
 
i had recently found that parameters may not be passed
in first line of shell script in 386bsd.
 
script follows:
#!/bin/sh -x
echo Testing
 
*should* give result as:
+echo Testing
Testing
 
but what turn out is
Testing
 
please advice on fixes.
 
thank you for your attention.
 
clarence chu
...
 * Origin: BiG (since 87) - a programming BBS for fevers (6:700/132)