For bugs with existing features
Here's a snippet or screenshot that shows the problem:
#!/bin/sh
hn=${HOSTNAME}
echo "$hn"
hn=$(HOSTNAME)
echo "$hn"
Here's what shellcheck currently says:
$(HOSTNAME) is okay
Here's what I wanted or expected to see:
use uname -n
see gwsw/less#770
For bugs with existing features
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
$(HOSTNAME) is okay
Here's what I wanted or expected to see:
use
uname -nsee gwsw/less#770