Date: Sun, 13 May 2018 17:04:02 +0000
From: [email protected]
Message-ID: <[email protected]>
| (I'd like to apply PR 52684 but this is making it annoying)
For that, either ...
ans="$({ pkg info -qI "$i" ;} 2> /dev/null)"
or
{ ans="$(pkg info -qI "$i")" ; } 2>/dev/null
(Those should work in any shell.)
You'd think that perhaps just
ans="$(pkg info -qI "$i") 2>/dev/null
might work, but it won't anywhere, as the order of performing
redirects and assignments isn't what you'd hope for there.
kre
