From: hugh@mimosa.com ("D. Hugh Redelmeier")
To: dylan@ibmpcug.co.uk, davidf@golem.uucp
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: -s flag
Date: Tue, 30 Jun 1992 11:03:42 -0400 [thread overview]
Message-ID: <9206301503.AA10123@redvax.mimosa.com> (raw)
| From: Matthew Farwell <dylan@ibmpcug.co.uk>
|
| It's a lot better to fix Jove than to 'fix' rc. You could do this like
| vi/ex does it. If I execute a subshell command in vi, then any % is
| replaced by the current filename, ie
|
| :!mv % %.bak
This is not better for a couple of reasons.
The first is that we are talking about an interractive shell, taking
over the tty for its command input. For JOVE to do % replacement,
it would have to do the command input and feed the shell through a
PTY or something. Ugh!
The second is that it would be yet another level of magic processing
of the command. $1 already has a meaning to the shell, and the
shell can determine by its own rules (scope, quoting, etc.) when the
substitution is appropriate.
| From: "David J. Fiander" <golem!davidf>
|
| It would be nice if this feature was documented, though.
True. I have just updated the JOVE documentation.
Hugh Redelmeier
hugh@mimosa.com or {utcsri, uunet!attcan, utzoo, scocan}!redvax!hugh
When all else fails: hugh@csri.toronto.edu
+1 416 482-8253
next reply other threads:[~1992-06-30 15:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-06-30 15:03 "D. Hugh Redelmeier" [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-07-02 14:03 Chet Ramey
1992-07-01 21:30 "D. Hugh Redelmeier"
1992-07-02 12:52 ` Gerry.Tomlinson
1992-06-30 15:29 haahr
1992-07-01 12:52 ` Gerry.Tomlinson
1992-07-01 21:14 ` Chris Siebenmann
1992-06-30 6:55 "D. Hugh Redelmeier"
1992-06-30 8:26 ` Matthew Farwell
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=9206301503.AA10123@redvax.mimosa.com \
--to=hugh@mimosa.com \
--cc=davidf@golem.uucp \
--cc=dylan@ibmpcug.co.uk \
--cc=rc@hawkwind.utcs.toronto.edu \
/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).