On Fri, Dec 01, 2017 at 06:40:35PM +0100, d...@computer42.org wrote:
> I'm sanitising urls from advertisement crap. As described below I'm getting
> a wrong resolution of parenthesised expression defined with non-greedy
> operator '?'.
> re='https?:\/\/toolbox.contentspread.net\/(.*?)=(.+?)&.*
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA
FYI,
as seen at https://unix.stackexchange.com/a/408171, there are
still a few "problems" with process substitution, where some fds
are closed where they probably shouldn't:
> Note that even with the latest (4.4.12 as of writing) version, bash still has
> a few bugs here like:
>
> $ bash -c 'ev
On 12/1/17 7:49 AM, Thiruvadi Rajaraman wrote:
> Hi Chester,
>
> Thanks a lot for your review comments.
>
> I reworked on the fix to solve bash sleep issue and here attached the patch.
I don't think you got my point. Why would you override bash's installed
signal handler -- disabling job and pr
Hi Chester,
Thanks a lot for your review comments.
I reworked on the fix to solve bash sleep issue and here attached the patch.
>From include/bits/signum.h,
#define SIG_DFL ((__sighandler_t) 0)/* Default action. */
In the attached patch fix, signal(SIGCHLD, SIG_DFL), SIG_DFL perfo