Get rid of "warning: command substitution: ignored null byte in input" : <p>I'm getting <code>-bash: warning: command substitution: ignored null byte in input</code> when I run <code>model=$(cat /proc/device-tree/model)</code></p>

<pre><code>bash --version
GNU bash, version 4.4.12(1)-release (arm-unknown-linux-gnueabihf)
</code></pre>

<p>With bash version 4.3.30 it's all OK</p>

<p>I understand the problem is the terminating <code>\0</code> character in the file, but how can I suppress this stupid message? My whole script is messed up since I'm on bash 4.4</p>
