I am trying to do a select statement and I am having issues passing in a variable. My code pattern is shown below :
sD=$(hostname)
echo $sD #prints TEST
select (.name=="$sD") # this line isnt working. When i do
select (.name=="TEST") # it works properly