[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh -x but also show me the times when each line was executed
From: |
Dan Jacobson |
Subject: |
Re: sh -x but also show me the times when each line was executed |
Date: |
09 Jul 2002 09:56:20 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "Chet" == Chet Ramey <chet@nike.ins.cwru.edu> writes:
Chet> PS4='+ $(date) [$LINENO] ' bash -x somescript
sorry dude, that leads to miracle looping here on woody:
fork: Resource temporarily unavailable
++++++++++++ ... ++++++++++++++++++++date
I then put the PS4 thing into the top line of the file fearing that it
was exported, and same thing. My script said hello world etc. only.
--
http://jidanni.org/ Taiwan(04)25854780