On 12/16/2016 02:40 PM, Eric Blake wrote: > bash 4.4 now warns about skipping NUL bytes in $(command), since > command substitution is only well-formed for commands that output > text, but NUL bytes are not text. Silence the warning by removing > NUL bytes from the stream before bash can see them. > --- As usual for me, I hit send too soon :) I should have mentioned that this was a patch for cygport, based on the report here: https://cygwin.com/ml/cygwin/2016-12/msg00182.html The patch works fine on bash 4.3.x, and shuts up the new warning present in bash 4.4.x -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org