Re: printing all of command executed in a script

2003-11-18 Thread Mark Roach
On Fri, 2003-11-14 at 05:47, Akira Kitada wrote: > Hi all. > > As the subject above implys, I'd like to print all of commands > executed in a shell script. sh -x /path/to/script -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMA

Re: printing all of command executed in a script

2003-11-15 Thread Colin Watson
On Sat, Nov 15, 2003 at 06:33:31PM +0800, csj wrote: > On Sat, 15 Nov 2003 05:05:21 +0900, > Akira Kitada wrote: > > On Fri, Nov 14, 2003 at 11:08:11AM +, Colin Watson wrote: > > > On Fri, Nov 14, 2003 at 07:47:37PM +0900, Akira Kitada wrote: > > > > As the subject above implys, I'd like to pri

Re: printing all of command executed in a script

2003-11-15 Thread csj
On Sat, 15 Nov 2003 05:05:21 +0900, Akira Kitada wrote: > > On Fri, Nov 14, 2003 at 11:08:11AM +, Colin Watson wrote: > > On Fri, Nov 14, 2003 at 07:47:37PM +0900, Akira Kitada wrote: > > > As the subject above implys, I'd like to print all of commands > > > executed in a shell script. > > >

Re: printing all of command executed in a script

2003-11-14 Thread Akira Kitada
On Fri, Nov 14, 2003 at 11:08:11AM +, Colin Watson wrote: > On Fri, Nov 14, 2003 at 07:47:37PM +0900, Akira Kitada wrote: > > As the subject above implys, I'd like to print all of commands > > executed in a shell script. > > 'set -x' > Thanks! 'set -[xv]' is what i want. I should more read o

Re: printing all of command executed in a script

2003-11-14 Thread Adam Galant
Hi. Try a 'script' utility (man script). This will write all that apears on your terminal to a file which can be viewed or printed or whatever. Simply type 'script', run your own script (oops, it could be wise to rename your own script ;-) and when it finishes type ^d (CTRL-d). Then you'll want to

Re: printing all of command executed in a script

2003-11-14 Thread Colin Watson
On Fri, Nov 14, 2003 at 07:47:37PM +0900, Akira Kitada wrote: > As the subject above implys, I'd like to print all of commands > executed in a shell script. 'set -x' Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with