>
> TWO - this fails, apparently (warning: my guess) at the pipe
> $ for j in 1 2;do echo $j $(echo hello | cat);done
> 1
> 2
This works for me:
$ for j in 1 2;do echo $j $(echo hello | cat);done
1 hello
2 hello
I have:
GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)
Ronald
--
I'm spawning processes in background, but have problems killing them.
Here is the setup:
My script (zsh) creates one or more processes in the background, and
waits until they are finished. I have also set up a trap for SIGINT,
with the intention that if I press Control-C, the background processes
> Does this help?
>
> https://cygwin.com/faq/faq.html#faq.using.same-with-permissions
While interesting, it seems to describe a different phenomenon.
Actually, when I create files by Cygwin tools only (touch, nano, ),
the access rights are always correct. Indeed, even after removing the
I've had more time to look around. If you add the following to the file
~/.config/fish/config.fish (create it if you haven't already got one),
then things should work as intended:
if status --is-login
set PATH /usr/local/bin /usr/bin $PATH
end
Alternatively drop it in the fish
4 matches
Mail list logo