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: Herve Gautier Subject: Re: strange behaviour of /sbin/sh Date: 2000/11/28 Message-ID: <3A2380CB.68544A59@syseca.fr>#1/1 X-Deja-AN: 698604146 Content-Transfer-Encoding: 7bit References: <3A1E80E3.8E46C673@syseca.fr> <3A222FA0.B23797F6@syseca.fr> <19duv8.iet.ln@localhost> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: news.syseca.fr 975405262 7470 192.168.16.182 (28 Nov 2000 09:54:22 GMT) Organization: SYSECA Mime-Version: 1.0 Reply-To: herve.gautier@syseca.thomson-csf.com Newsgroups: comp.unix.tru64 "Stuart R. Fuller" wrote: > > 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 Already done ! It's not the point ! I think there is something whci crash the /sbin/sh shell in my way to use it, because I do something like that : shell_1 : --------- function1() { } shell_2 : --------- . shell_1 function2 () { } shell_3 : --------- . shell_1 . shell_2 function1 function2 May I send you by email the scripts ? -- GAUTIER Herve (R.V) professional email : herve.gautier@syseca.thomson-csf.com