Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ssh zsh and one off commnad
On 13 August 2013 13:38, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 13 Aug 2013 13:00:39 +0100
> Wawrzek Niewodniczanski <main@xxxxxxxxxxxx> 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@xxxxxxxxxxxx
Linux User #177124
Messages sorted by:
Reverse Date,
Date,
Thread,
Author