Re: bash pipe fails in script with subshell/loop cmbination

2017-08-08 Thread Ronald Otto Valentin Fischer
> > 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 --

Killing-Process woes

2017-06-20 Thread Ronald Otto Valentin Fischer
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

Re: Editors set x-bit (sometimes)

2016-12-13 Thread Ronald Otto Valentin Fischer
> 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

Re: Possible bug with chere 1.4 when configuring for fish

2014-04-10 Thread Ronald Otto Valentin Fischer
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