RE: Debug mode for running scripts?
- From: "Jan Sneep" <jan@xxxxxxxxxxxxxxxx>
- Date: Sat, 9 Jun 2007 10:13:40 -0400
-----Original Message-----
From: ubuntu-users-bounces@xxxxxxxxxxxxxxxx
[mailto:ubuntu-users-bounces@xxxxxxxxxxxxxxxx]On Behalf Of
Nils Kassube
Sent: June 9, 2007 8:54 AM
To: ubuntu-users@xxxxxxxxxxxxxxxx
Subject: Re: Debug mode for running scripts?
Jan Sneep wrote:
Is there some way to run a script in a step-by-step way tosee how far
the script goes before it runs into an error? Somethinglike a verbose
step-by-step option of some kind?
If you include
set -o verbose
to the script it will print every command before execution to
standard
output.
So I would edit the script file and add that line at the top of the file?
and by standard output you mean the screen or some actual file someplace?
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Debug mode for running scripts?
- From: Nils Kassube
- Re: Debug mode for running scripts?
- References:
- Re: Debug mode for running scripts?
- From: Nils Kassube
- Re: Debug mode for running scripts?
- Prev by Date: Re: 3-D desktop
- Next by Date: Re: Gutsy and unauthorized updates?
- Previous by thread: Re: Debug mode for running scripts?
- Next by thread: Re: Debug mode for running scripts?
- Index(es):
Relevant Pages
|