[Abcde-users] [PATCH] Replace Sub-shell Parenthesis with Curly Braces and Indent
David Murphy
glibdud at hotmail.com
Thu Mar 26 14:48:19 GMT 2015
Date: Wed, 25 Mar 2015 11:03:34 -0400
From: rogerx.oss at gmail.com
> 1) Replaced the parenthesis within four piped script/code block sections and
> instead use curly braces or curly brackets. Hence, variables should now be
> preserved within and after the piped sections are called. (ie. Sub-shells
> variables are lost, as the shell called using parenthesis is a separately
> executed shell and might close an old bug here.)
Have you tested this? The way I understood the stackexchange link you posted before (http://unix.stackexchange.com/questions/127334/bash-subshell-creation-with-curly-braces), piping multiple curly-brace blocks together will still cause subshells to be spawned. I could definitely be misinterpreting that, though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einval.com/pipermail/abcde-users/attachments/20150326/ee815447/attachment.html>
More information about the Abcde-users
mailing list