Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Herve Gautier <gautier@syseca.fr>
Subject: Re: strange behaviour of /sbin/sh
Date: 2000/11/28	[thread overview]
Message-ID: <3A2380CB.68544A59@syseca.fr> (raw)
In-Reply-To: 19duv8.iet.ln@localhost

"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



      reply	other threads:[~2000-11-28  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-24  5:00 strange behaviour of /sbin/sh Herve Gautier
2000-11-24 19:10 ` Stuart R. Fuller
2000-11-27  5:00   ` Herve Gautier
2000-11-27  5:00     ` Stuart R. Fuller
2000-11-28  5:00       ` Herve Gautier [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox