From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Why can't I use xargs emacs?
Date: Thu, 04 Feb 2010 13:08:56 +0100 [thread overview]
Message-ID: <4B6AB8D8.9020503@easy-emacs.de> (raw)
In-Reply-To: <6k5p37x1ai.ln2@news.ducksburg.com>
Adam Funk wrote:
> On 2010-02-03, Thierry Volpiatto wrote:
>
>> Adam Funk <a24061@ducksburg.com> writes:
>
>>> Nothing, thanks! What's the difference between these two?
>>>
>>> emacs -nw `find . -name '*.txt'`
>>> emacs -nw $(find . -name '*.txt')
>> Nothing that's the same, i prefer $() than backquote but that just a
>> choice.
>>
>> Though bash was speaking at one time to remove backquote construction or
>> make it obsoléte in future versions.
>>
>> Don't know what they did finally.
>
> Well, I know backquotes still work because I use them in bash scripts
> a lot. As pointed out elsewhere in the thread, however, $(...) is a
> lot easier to nest.
>
Here is, what man bash says:
When the old-style backquote form of substitution is used,
backslash retains its literal meaning except when followed
by $, `, or \. The first backquote not preceded by a
backslash terminates the command substitution. When using
the $(command) form, all characters between the parentheses
make up the command; none are treated specially.
Command substitutions may be nested. To nest when using the
backquoted form, escape the inner backquotes with
backslashes.
next prev parent reply other threads:[~2010-02-04 12:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 20:22 Why can't I use xargs emacs? Adam Funk
2010-02-02 21:14 ` Bit Twister
2010-02-03 11:14 ` Andreas Röhler
2010-02-03 14:18 ` Adam Funk
2010-02-02 21:35 ` Bill Marcum
2010-02-03 7:23 ` Thierry Volpiatto
[not found] ` <mailman.634.1265182143.14305.help-gnu-emacs@gnu.org>
2010-02-03 14:21 ` Adam Funk
2010-02-06 7:45 ` Jorgen Grahn
2010-02-06 19:37 ` Adam Funk
2010-02-02 22:40 ` Pascal J. Bourguignon
2010-02-03 3:40 ` Ivan Shmakov
2010-02-02 22:56 ` Pascal J. Bourguignon
2010-02-02 23:51 ` Harald Hanche-Olsen
2010-02-03 14:12 ` hymie!
2010-02-03 14:20 ` Adam Funk
2010-02-03 16:19 ` Thierry Volpiatto
[not found] ` <mailman.645.1265214302.14305.help-gnu-emacs@gnu.org>
2010-02-03 21:15 ` Adam Funk
2010-02-04 12:08 ` Andreas Röhler [this message]
2010-02-11 3:19 ` David Combs
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B6AB8D8.9020503@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).