I realized shortly after I posted that fish will probably treat the result of a 
command substitution as a single element (fish splits the output of the cmd 
subst into elements on newlines). You will need to `eval` the command

Glenn Jackman | Software Developer
Pythian
Tel: +1 613 565 8696 Ext. 1478
Cell: +1 613 808 4984
Email: jack...@pythian.com

-----Original Message-----
From: Rickard von Essen <rickard.von.es...@gmail.com>
Date: Sat, 24 Jan 2015 17:37:44 
To: <jack...@pythian.com>
Cc: fish-users<fish-users@lists.sourceforge.net>
Subject: Re: [Fish-users] Using subshells to expand arguments

Tried that and it did not work, if remember correctly fish sometimes put
subshells in the background.
On Jan 24, 2015 5:00 PM, "Glenn Jackman" <jack...@pythian.com> wrote:

> Command substitution in fish uses plain parentheses without the leading
> dollar
>
> docker (./machine config prl) ps
> Glenn Jackman | Software Developer
> Pythian
> Tel: +1 613 565 8696 Ext. 1478
> Cell: +1 613 808 4984
> Email: jack...@pythian.com
>
> -----Original Message-----
> From: Rickard von Essen <rickard.von.es...@gmail.com>
> Date: Sat, 24 Jan 2015 15:40:43
> To: fish-users<fish-users@lists.sourceforge.net>
> Subject: [Fish-users] Using subshells to expand arguments
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to