Getting output from a file similar to cat output

I have a file

# cat /root/llll
11
22
33
44

When I cat this file content to a variable inside a shell script and echo that shell script, it does not show up as separate lines. I need echo output similar to cat.

cat /root/shell_script.sh
#!/bin/bash

var=`cat /root/llll`
echo $var
# sh /root/shell_script.sh
11 22 33 44

Change:

echo $var

to:

echo "$var"
1 Like

Thanks Don