From: malte@TechFak.Uni-Bielefeld.DE
To: rc-owner
Subject: trace in rc
Date: Fri, 18 Jun 1993 03:31:53 -0400 [thread overview]
Message-ID: <9306180731.AA00685@dahlie.techfak.uni-bielefeld.de> (raw)
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
next reply other threads:[~1993-06-18 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-06-18 7:31 malte [this message]
1993-06-20 0:01 ` noel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9306180731.AA00685@dahlie.techfak.uni-bielefeld.de \
--to=malte@techfak.uni-bielefeld.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).