From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mExyK3SKSWVvCQEAauVa8A:P1 (envelope-from ) for ; Tue, 07 Nov 2023 01:53:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mExyK3SKSWVvCQEAauVa8A (envelope-from ) for ; Tue, 07 Nov 2023 01:53:08 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3C90661773 for ; Tue, 7 Nov 2023 01:53:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=AwRWONrY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699318388; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wJtQ/6q8fCzqycPMFHFAtS6htO6hhLkD15SInImsBhs=; b=JIYZfSvBPevATxh9qoOSELVc2xuBE4kMEGg2vbWQXmmJqsTZmJI0Gbb4KqcH6JKzDN7K/v uaa55Tv7gc0N+T3FpoXVioi17T9o2lQEMAKYiFRaV6X1/Kn8AhYOaRNjapUG5HpZ/IJpYB ntdE+i5dRDi+4ZT1Vj5I5fkuoPv8Le74gEm6V6d1RliVlrxRfurh2lLtmUrI9HaxwECQs+ 5yMBIi41TPkP5RTEoH9xxa/KdYOOLnZUQHTmi3CJbrQhRSSDOZsU82yxVg4I6i0PgcRE7j X1AbHuoS/yvVnegUcMM6MiUQEvX3ZFHq6XSxcnGQbwlfOAIBvS6EBbIlCKt5yQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=AwRWONrY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699318388; a=rsa-sha256; cv=none; b=og1q5xGhi4uCa3FcfqOIcxK8gJ2zwSg0QTPbupk4pzNzWyXLr4wvI2BRHXYEBxfH4VG1Tm nTGKTRh4vkZ2CCisrBPhM560klPoBOXyLdcbokgBf2d8Trw8nif4lTdsrLktosFGrdhG5L ycJ07wa8DROhi0aPNLb+CAVbwFSH+dgb2myWSmJ1inJoy8Q4mHromMlUtGwL7+jPgWvBez JvaFsVOWVf1tO0QIx4UPpNXnp1dH/BG/DutxUw1oLaYNIAI7w49G4dmcPgpesrlciIJ2tn hINoa37TkKaOB1aa84E6Ek8FH0ZG/zcIcWDVCqAW4C+3tjBvZx2EtKuherHxOA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0AK5-0006kM-8n; Mon, 06 Nov 2023 19:52:05 -0500 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 1r0AK3-0006jN-Ig for emacs-orgmode@gnu.org; Mon, 06 Nov 2023 19:52:03 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0AK1-0002wL-Ey for emacs-orgmode@gnu.org; Mon, 06 Nov 2023 19:52:03 -0500 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 652D6C0F5F; Tue, 7 Nov 2023 01:51:53 +0100 (CET) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 1C6E0A00E3; Tue, 7 Nov 2023 01:51:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 0A194A01FC; Tue, 7 Nov 2023 01:51:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 0A194A01FC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1699318313; bh=wJtQ/6q8fCzqycPMFHFAtS6htO6hhLkD15SInImsBhs=; h=MIME-Version:Message-ID:Date:From:To; b=AwRWONrYg4bM9EQ+bmYIMxp+LS5yKkD2783YqdJxXzlvv1JK/hZi9jAlLkDFm0AZ9 SDpOshyxBJGpQfU1UqoxRUauTZnPl9qa4NjP8INqG0TlRim5Yev7ihVwDHCPiNkOnW BlvrCHBPzI922tg8X5U5EbowqfkL38nT2liMngbDayVm165x1NQvMm5k+GCEIQmi5n 2J7SYWOdB3TK05UbOm0mgj3Rq+lpjzTQId6h2+p5jRz34MzO/n7gqHX6/78GgmGmFe E7wkz1cRPqoSstgRzz+soSrpw9nBm72rHW1lvM3rzUEbDfTDDsDOk/g3AB+SmMEbmq qwo8U7JDxEu3A== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id oGGZ5G8OqWM9; Tue, 7 Nov 2023 01:51:52 +0100 (CET) Received: from 130.79.11.251 (unknown [194.254.241.249]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 8DB51A00E3; Tue, 7 Nov 2023 01:51:52 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25929.35368.271923.13477@gargle.gargle.HOWL> Date: Tue, 7 Nov 2023 01:51:52 +0100 From: Alain.Cochard@unistra.fr To: Matt Cc: "alaincochard" , "emacs-orgmode" Subject: Re: bash source code block: problem after ssh commands In-Reply-To: <18ba5cc5d9e.10cca391d39786.874676650930002509@excalamus.com> References: <25912.63830.726070.953843@gargle.gargle.HOWL> <25915.41804.17792.254127@gargle.gargle.HOWL> <18ba5cc5d9e.10cca391d39786.874676650930002509@excalamus.com> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.8 at clamav02 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduhedgvdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdegleenuceurggutfgvphhuthfkphepudelgedrvdehgedrvdeguddrvdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvgeelpdhhvghlohepudeftddrjeelrdduuddrvdehuddpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohepmhgrthhtsegvgigtrghlrghmuhhsrdgtohhm Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr 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, NICE_REPLY_A=-3.085, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_NONE=-0.0001, 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.70 X-Spam-Score: -8.70 X-Migadu-Queue-Id: 3C90661773 X-Migadu-Scanner: mx10.migadu.com X-TUID: 77sCF0E9QLvn Matt writes on Mon 6 Nov 2023 19:01: > I want to confirm, are you able to accomplish your task by using > '-n'=3F Yes. Evaluating this block (with C-c C-c): #+begin=5Fsrc bash :results output ssh -n cochard@fruc.u-strasbg.fr "echo foo>foo=5Ffile" echo "bar" #+end=5Fsrc gives #+RESULTS: : bar (without the '-n', #+RESULTS: is empty). Same conclusion if I copy/yank the 2 bash instructions in an emacs terminal (M-x shell).=20 --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]