[arch-projects] [devtools] [PATCH 6/9] lib/common.sh: Add a lock_close function.
Luke Shumaker
lukeshu at sbcglobal.net
Sun May 11 00:16:33 EDT 2014
At Sat, 10 May 2014 22:40:02 -0400,
Dave Reisner wrote:
> > + eval "exec $fd>&-"
>
> eval isn't needed here, you can use:
>
> exec {fd}>&-
Whoa! I should have taken a closer look at the Bash 4.1 CHANGES
file. That's cool new bit of syntax. I suppose neither of us is
concerned about supporting Bash 4.0 or earlier?
Happy hacking,
~ Luke Shumaker
More information about the arch-projects
mailing list