zsh-users
 help / color / mirror / code / Atom feed
From: Wawrzek Niewodniczanski <main@wawrzek.name>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: ssh zsh and one off commnad
Date: Tue, 13 Aug 2013 14:30:36 +0100	[thread overview]
Message-ID: <CAC7-vpA+tH5nT79TXC9XZvuTEktdEsTp6asT6=MTpDnYySNA7g@mail.gmail.com> (raw)
In-Reply-To: <20130813133859.57c69e43@pwslap01u.europe.root.pri>

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

On 13 August 2013 13:38, Peter Stephenson <p.stephenson@samsung.com> wrote:

> On Tue, 13 Aug 2013 13:00:39 +0100
> Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
>
> [...]


> > ssh remote "zsh -c 'for i (/usr/*(/)) {ls $i }'"
>                                             ^^
> The problem is that the $i is being substituted by the local shell,
> because it's in a double-quoted expression (the single quotes inside
> that are not special to the local shell).  Probably putting a backslash
> in front of the $ should do the trick.
>
>
That the hit!

Thanks for help,

Wawrzek



-- 
Dr  Wawrzyniec Niewodniczański    or Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name
      Linux User #177124

      reply	other threads:[~2013-08-13 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 12:00 Wawrzek Niewodniczanski
2013-08-13 12:38 ` Peter Stephenson
2013-08-13 13:30   ` Wawrzek Niewodniczanski [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC7-vpA+tH5nT79TXC9XZvuTEktdEsTp6asT6=MTpDnYySNA7g@mail.gmail.com' \
    --to=main@wawrzek.name \
    --cc=p.stephenson@samsung.com \
    --cc=zsh-users@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).