* trace in rc
@ 1993-06-18 7:31 malte
1993-06-20 0:01 ` noel
0 siblings, 1 reply; 2+ messages in thread
From: malte @ 1993-06-18 7:31 UTC (permalink / raw)
To: rc-owner
Hello,
I've been thinking about how to implement a kind of "intelligent"
trace facility in rc. Intelligent means I want to execute a function
each time a command fails. One parameter to this function should be
the name of the failed command. I thought about the prompt function,
but that doesn't help in shell scripts.
So I'd like to hear what you think about adding a function to rc
which is called after invocation of any command or builtin, running
interactively or not with the last command's name ( or names if it was a
pipe ) as parameter. Then, fn prompt can be defined in terms of this
function, as well as any trace function.
Malte
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: trace in rc
1993-06-18 7:31 trace in rc malte
@ 1993-06-20 0:01 ` noel
0 siblings, 0 replies; 2+ messages in thread
From: noel @ 1993-06-20 0:01 UTC (permalink / raw)
To: rc-owner
From: malte@TechFak.Uni-Bielefeld.DE
So I'd like to hear what you think about adding a function to rc
which is called after invocation of any command or builtin, running
NO. Leave rc alone. It isn't broken; don't fix it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-06-20 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-06-18 7:31 trace in rc malte
1993-06-20 0:01 ` noel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).