From: Daniel Jacobowitz <drow@mvista.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: Richard Sharpe <rsharpe@richardsharpe.com>, gdb@sources.redhat.com
Subject: Re: Processing of convenience variables for scripts ...
Date: Fri, 06 Dec 2002 17:17:00 -0000 [thread overview]
Message-ID: <20021207011814.GB21192@nevyn.them.org> (raw)
In-Reply-To: <3DF12A6B.1050006@redhat.com>
On Fri, Dec 06, 2002 at 05:53:31PM -0500, Fernando Nasser wrote:
> Richard Sharpe wrote:> On Fri, 6 Dec 2002, Fernando Nasser wrote:
> >
> >
> >>Daniel Jacobowitz wrote:
> >>
> >>>That said, I'm not worried about implementing this as much as I am
> >>>designing what it "ought" to look like.
> >>>
> >>
> >>For me just:
> >>
> >>eval command args... ${something} more args...
> >>
> >>where the value of ${something} is blah
> >>
> >>causes the following command to be executed
> >>
> >>command args... blahh more args...
> >>
> >>
> >>eval just expands the variable to create the real command to be excuted
> >>and calls execute_command() with it.
> >
> >
> >This sounds like a simple short-term solution while we wait on a more
> >general method where all commands can take expressions of any type :-)
> >
>
> Why we would want that? Are you thinking of any specific example where
> this could be useful?
Well, it seems much more logical to me... right now some commands
accept $var and some don't. The inconsistency gets on my nerves when I
hit it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-07 1:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 8:30 Richard Sharpe
2002-12-06 8:41 ` Daniel Jacobowitz
2002-12-06 8:54 ` Fernando Nasser
2002-12-06 11:57 ` Richard Sharpe
2002-12-06 14:53 ` Fernando Nasser
2002-12-06 17:17 ` Daniel Jacobowitz [this message]
2002-12-07 8:50 ` Richard Sharpe
-- strict thread matches above, loose matches on Subject: below --
2002-11-20 0:48 Richard Sharpe
2002-11-20 6:13 ` Daniel Jacobowitz
2002-11-20 8:32 ` Andrew Cagney
2002-11-20 8:36 ` Daniel Jacobowitz
2002-11-20 9:28 ` Richard Sharpe
2002-11-20 10:36 ` Daniel Jacobowitz
2002-11-20 21:40 ` Eli Zaretskii
2002-12-05 16:52 ` Fernando Nasser
2002-12-08 11:36 ` Doug Evans
2002-12-08 12:30 ` Daniel Jacobowitz
2002-12-08 12:52 ` Doug Evans
2002-12-08 11:16 ` Doug Evans
2002-12-08 11:31 ` Richard Sharpe
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=20021207011814.GB21192@nevyn.them.org \
--to=drow@mvista.com \
--cc=fnasser@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=rsharpe@richardsharpe.com \
/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