From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: Why can't I use xargs emacs? Date: Thu, 04 Feb 2010 13:08:56 +0100 Message-ID: <4B6AB8D8.9020503@easy-emacs.de> References: <6k5p37x1ai.ln2@news.ducksburg.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265285279 30948 80.91.229.12 (4 Feb 2010 12:07:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 12:07:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 13:07:57 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nd0V2-0003oI-PN for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 13:07:57 +0100 Original-Received: from localhost ([127.0.0.1]:39084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd0V2-0000qf-2W for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 07:07:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd0Uc-0000q7-Oo for help-gnu-emacs@gnu.org; Thu, 04 Feb 2010 07:07:30 -0500 Original-Received: from [199.232.76.173] (port=46342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd0Uc-0000px-CM for help-gnu-emacs@gnu.org; Thu, 04 Feb 2010 07:07:30 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd0Ua-0002SV-T6 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2010 07:07:29 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:58096) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd0Ua-0002SN-CP for help-gnu-emacs@gnu.org; Thu, 04 Feb 2010 07:07:28 -0500 Original-Received: from [192.168.178.27] (p54BE867A.dip0.t-ipconnect.de [84.190.134.122]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LfGuG-1O5PLJ0L5k-00oiJ8; Thu, 04 Feb 2010 13:07:25 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: <6k5p37x1ai.ln2@news.ducksburg.com> X-Provags-ID: V01U2FsdGVkX197K/IsA9iwEiKWcEXM8lbiG4sppZj03II/EH0 x7W7VUmPkG2kDn0txw2U9oAneG74N9+BzOKiAXX9TqG9Yb5S1q u8ByvHGQag5Fpm/syJ8nc1ro/mZVrsrWg8lYvCvkhc= X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71680 Archived-At: Adam Funk wrote: > On 2010-02-03, Thierry Volpiatto wrote: > >> Adam Funk 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.