Read Whole Text Linux Bash File -


how can 1 load whole text file single variable?

i want in order glue several text files one.

basically trying emulate preprocessing phase language not support preprocessing (smt2)

thanks everyone!

there approach in bash without using cat:

#!/bin/bash var=$(<file.txt) echo "$var" 

Comments