Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: stu@c49395-a.wodhvn1.mi.home.com (Stuart R. Fuller)
Subject: Re: strange behaviour of /sbin/sh
Date: 2000/11/27	[thread overview]
Message-ID: <19duv8.iet.ln@localhost> (raw)
In-Reply-To: 3A222FA0.B23797F6@syseca.fr

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



  reply	other threads:[~2000-11-27  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 [this message]
2000-11-28  5:00       ` Herve Gautier
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