RosettaCodeData/Task/Read-entire-file/UNIX-Shell/read-entire-file-2.sh
2023-07-01 13:44:08 -04:00

2 lines
36 B
Bash

f=$(cat foo.txt)
printf '%s\n' "$f"