From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: eshell command substitution? Date: Sat, 23 Dec 2023 16:58:58 +0100 Message-ID: <877cl46hbx.fsf@gmx.net> References: <87msu1x70a.fsf@jeffclough.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36149"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-help To: Jeff Clough Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 16:59:40 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rH4Pb-0009D0-MJ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 16:59:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rH4P5-0001Eo-Rp; Sat, 23 Dec 2023 10:59:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rH4P4-0001EZ-1A for help-gnu-emacs@gnu.org; Sat, 23 Dec 2023 10:59:06 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rH4P2-0008Hl-7h for help-gnu-emacs@gnu.org; Sat, 23 Dec 2023 10:59:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1703347139; x=1703951939; i=stephen.berman@gmx.net; bh=gbcmG8tED1EyeCQtJLWWDHVLiDp4i9ndaBhLaIl+cWM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=Tep4JPN4lwQBE0nlylHYoGwqvruz+M9YqnG2aicq7YFTXUbH5znjTg5cfJy5/uMz mes23pEHHVBNnFujX/aQIYjhhndTtuMmcywBUOHNkk6QhwQpmyP4e5xYmhotB9e+v u9n+REs7nk5RqW2Z/5d78tLj8ohpcBBWijAPpJDCRZ+U3B+AnfSlCh/zKyFedxWFK svdBDxTlNkWXqw8ureckt3/dsMLlASuku+fVwp2ZlEup2lyVQ8nLnHeSRq2UrilGg sdVGU8ZP8yGYaL/d1pF/tfKAbVuengAko2tp0NJTJtx3aoKHWtnItEnibYlDo7Xff O7jg2gG9gFLt4qU53A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs2 ([94.134.196.251]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkHMZ-1qsm9C0aTJ-00kh14; Sat, 23 Dec 2023 16:58:59 +0100 In-Reply-To: <87msu1x70a.fsf@jeffclough.net> (Jeff Clough's message of "Sat, 23 Dec 2023 10:39:49 -0500") X-Provags-ID: V03:K1:cBrLTDbt0biej/u/HtUooh/f+tZ9oLE5wlxKYmnSGXegZg8BEsK 0i82JX+a+SC2iCKw+FIGiK+q/KoxkVGyoAHa4bvwgfLnOmUKT6gydgptQZZArfjtdwGUiYU PQ18PFbz/3uHSZ7gR85JehRaKOoIMCfboUN3uM2sHPgA/BhXmDlgR8mw/sq0GBMBMBzLSaS KkwI1Pzu83Eu3veC//3xQ== UI-OutboundReport: notjunk:1;M01:P0:ZgOapE/TFFY=;ZDILKLpJ0LuEt/NfVQehxWajiRD OMJIO8vLvLz0pSypREteXhKrNIem8Bfxd9P97zz8Gt9iCLWSkhstID7sDqiuB/JbB7Z9MJfwu Noh42tNn1d+UuzqbIX0ke3ttxWFBcoEk796BQD2SehU7iHVmLLz5Rp8a/horrZF9XHrPvYpRj Y/xZyBZTj9DJEVsF/uLHZhXBDhRakQu9xmPIXqJF1M/1JJSXMQebM88XJPteIkw4hR5bByX+S 4b8Dn3pdpf5JgVEh8TU+c0q9eYevBxw5UHUUp+zW9yCHhn1CGTvOH18FcuZ8BZVVHliYE4raA n8DGX6QmE+cCUW3OkkyiUKkk+G1XcPWJjeksvZLZHxW9DhnT17w2D59JfZDuvQvs9sGhYCJ+K GVouTElPjtOjmCyJETb6JKOdP1rwDGJTyWpu3bwSzL1wOWv8kNB9EPWpqrw3FIRTz1cIZuyx0 18Xp5U5G1cK/9fus0F2DGE7sU5l2aXgzwI+uTgEJyL+jBtH3f7Upa4hlWy5yBH7iRy3LlWlxr KGxiozTWcBok0r3jE1cihiuRBz+FkSv7PYkjNSI0NM1iiVNTy7EBBSrqPEGE1L85ZknEx0y4T M0d29z3VkR2oLdddwfPdPWgHSGZ+OPeU6kXaJyw3fzU45UYiL157ZKDJFT61iYQ2THUp2eok3 Dhn65dM1JfrHCMuw8P7Io0bAznIrAflkPMy1a6mfOdjwqpJ+A564/SVInedJ9OaxkpEWT+VpI DG/RuVrrikI110+SGACsuOzzpo8WNKxFTk4YO8Zc52QABrmA2loBBHA/x18JuvvxCT9NxymF Received-SPF: pass client-ip=212.227.15.19; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145665 Archived-At: On Sat, 23 Dec 2023 10:39:49 -0500 Jeff Clough wrote: > Good Morning! > > Does eshell have command substitution? If so, can someone point me to > its syntax. My search-fu is failing me. > > My usual use case... > > $ g++ base.cpp -o base `pkg-config gtkmm-3.0 --cflags --libs` > > Backticks don't work, nor does $(...) unsurprisingly. > > I've gotta be missing something glaringly obvious here, but I can't find > an answer. This should work (see (info "(eshell) Dollars Expansion")): $ g++ base.cpp -o base ${pkg-config gtkmm-3.0 --cflags --libs} Steve Berman