Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 15:09:57 -0700 (PDT)
From:      Tony <tony@idk.com>
To:        freebsd-questions@freebsd.org
Subject:   how to run a shell script but not execute
Message-ID:  <200108242209.PAA02640@idk.com>

next in thread | raw e-mail | index | archive | help
I have a shell script that I want to see what it is gonning execute.

I tried the -n as in the man page.

What I think my problem  I do not know how to supply the shell script as
input

sh -n script
sh -n < script

both do show anything.

There must have been something I missed to echo the commands but I cannot
find it.


Tony

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108242209.PAA02640>