Re: debug shell scripts with sourced code included.
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 01/03/04
- Next message: William Park: "(patch for Bash) regex(3) splitting/matching"
- Previous message: those who know me have no need of my name: "Re: Bash calls TCL, TCL calls Bash, 2nd Bash never reads input"
- In reply to: ekkard gerlach: "debug shell scripts with sourced code included."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 03 Jan 2004 02:59:56 GMT
In article <bt4o7i$18i$1@online.de>, ekkard gerlach <jack@aiai.de>
wrote:
> Is there a shell function available that
> put out a skript with the lines of code how
> the shell interpreter sees it?
Run the script with "sh -x scriptname" and all the commands in the
script will be displayed as they'r eexecuted.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA
- Next message: William Park: "(patch for Bash) regex(3) splitting/matching"
- Previous message: those who know me have no need of my name: "Re: Bash calls TCL, TCL calls Bash, 2nd Bash never reads input"
- In reply to: ekkard gerlach: "debug shell scripts with sourced code included."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|