On Thu, Apr 06, 2017 at 07:47:35AM +, emlyn.j...@wipro.com wrote:
> FIND_RPM=`find /opt/RPM/components -type d -name enum-1.1.6 -print0`
> It throws a warning as below:
>
> bash: warning: command substitution: ignored null byte in input
Your command is broken, and bash is warning you of this.
Hi,
We are trying to use the bash 4.4 downloaded from http://ftp.gnu.org/gnu/bash/
on our RHEL 6.2 machine.
But while using a script that has this command :
FIND_RPM=`find /opt/RPM/components -type d -name enum-1.1.6 -print0`
It throws a warning as below:
bash: warning: command substitution: ign
Using "read -N" on text containing multi-byte characters
produces incorrect result.
On Debian amd64 with the latest code from git:
$ locale charmap
UTF-8
$ printf '\ue9VWXYZ' | ./bash -c 'IFS= read -rN4 a; printf %s "$a"' | hd
c3 58 a9 56 57|.X.VW|
00