Re: hiding sh stderr

2018-05-13 Thread Robert Elz
Date:Sun, 13 May 2018 17:04:02 + From:co...@sdf.org Message-ID: <20180513170401.ga11...@sdf.org> | (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

Re: hiding sh stderr

2018-05-13 Thread Robert Elz
Date:Sun, 13 May 2018 17:04:02 + From:co...@sdf.org Message-ID: <20180513170401.ga11...@sdf.org> | what's the way to do this? I forgot and didn't re-find the | conversation. | | $ nonexistent 2>/dev/null | nonexistent: not found | | (I'd like to apply

Re: hiding sh stderr

2018-05-13 Thread Benny Siegert
On Sun, May 13, 2018 at 7:04 PM wrote: > what's the way to do this? I forgot and didn't re-find the > conversation. > $ nonexistent 2>/dev/null > nonexistent: not found > (I'd like to apply PR 52684 but this is making it annoying) Are you sure? bash and mksh do the right thing. $ nonexistent

hiding sh stderr

2018-05-13 Thread coypu
what's the way to do this? I forgot and didn't re-find the conversation. $ nonexistent 2>/dev/null nonexistent: not found (I'd like to apply PR 52684 but this is making it annoying)