On Thu, Oct 30, 2014 at 10:56 PM, Cedric Auger <sedri...@gmail.com> wrote:

> begin; sleep 10; and echo "beep"; end
>
> works in my version, but appending '&' does not change the behaviour.
>
> I thought, that this was due to the fact that "begin;" was parsed before
> "&", so I tried to "cheat" by using "eval":
>
> eval "sleep 10; and echo \"beep\"" &
>
> but, although "sleep 10; and echo \"beep\"" worked, this was not run in
> background (although I received a completion of task warning).
>
> I guess it is a bug.
>

It is a known issue https://github.com/fish-shell/fish-shell/issues/563


>
>
> 2014-10-30 17:43 GMT+01:00 Greg Reagle <greg.rea...@umbc.edu>:
>
>> On Thu, Oct 30, 2014, at 12:32 PM, Glenn Jackman wrote:
>> > begin; sleep 10; and beep; end &
>> >
>> > should do it.
>>
>> I get a syntax error with fish 2.1.1:
>> fish: Could not locate end of block. The "end" command is missing,
>> misspelled or a ";"
>> is missing.
>>
>> --
>> http://www.fastmail.fm - Or how I learned to stop worrying and
>>                           love email again
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>
>
>
> --
> .../Sedrikov\...
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>


-- 
Regards,
Siteshwar
------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to