From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ee7b6832b3bb58f2 X-Google-Attributes: gidfa528,public From: stu@c49395-a.wodhvn1.mi.home.com (Stuart R. Fuller) Subject: Re: strange behaviour of /sbin/sh Date: 2000/11/27 Message-ID: <19duv8.iet.ln@localhost>#1/1 X-Deja-AN: 698365627 Distribution: world References: <3A1E80E3.8E46C673@syseca.fr> <3A222FA0.B23797F6@syseca.fr> X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 975355802 24.2.253.183 (Mon, 27 Nov 2000 12:10:02 PST) Organization: Excite@Home - The Leader in Broadband http://home.com/faster Reply-To: stufuller@usa.net NNTP-Posting-Date: Mon, 27 Nov 2000 12:10:02 PST Newsgroups: comp.unix.tru64 Herve Gautier (gautier@syseca.fr) wrote: : "Stuart R. Fuller" wrote: : > : > Well, it's not likely that someone else will encounter this problem unless : > they have a copy of "myscript". : > : > What's in "myscript"? : > : > Stu : : If you are ready to wast a little time on this problem, : may I send you the script by email (because it is a : bit long script and my internet computer is not on my private : network, so I need to do a tar on tape and extract it on my : internet computer) ? What I'd end up doing would be to modify the script to add -vx to the interpreter name. That is, on the first line, where the shell is indicated, change it from: #! /sbin/sh to #! /sbin/sh -vx to cause commands and arguments to be displayed as the lines are executed. Then, take note of where the errors occur, and deal accordingly. Stu