emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Explicity-remote commands in Eshell


From: Jim Porter
Subject: Re: [RFC] Explicity-remote commands in Eshell
Date: Mon, 6 Mar 2023 14:07:59 -0800

On 3/6/2023 12:09 AM, Michael Albinus wrote:
One remark: Why don't you allow remoteness everywhere? Sth like

--8<---------------cut here---------------start------------->8---
/ssh:user@somewhere:remote-command | 
/ssh:another-user@elsewhere:another-remote-command
--8<---------------cut here---------------end--------------->8---

This even with multiple pipes in a row. Mixed with local commands. And
using just the shorter version "command", which means a local or remote
command according to default-directory.

This is possible too: in fact, explicitly-remote commands should be usable absolutely anywhere a regular command is: in pipelines, subshells, conditionals, etc. (My example was just to show how you might mix an explicitly-remote command with a regular command.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]