diff options
author | Max Schumacher <maximilianbschumacher@gmail.com> | 2020-07-07 12:39:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 12:39:53 +0200 |
commit | 1d829ae3f95cffd78f9996a5e0e548dd96ffac3d (patch) | |
tree | f56789d5cf643e3cb423fc76fdba39ee15128d84 | |
parent | 0215666e15d8694845981b832ea10f28245bb8a4 (diff) | |
parent | fb76c0b7fed31d7630023b85453a38a01802d026 (diff) |
Merge pull request #3906 from lemonez/patch-1
[bash/en] fix small omission
-rw-r--r-- | bash.html.markdown | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bash.html.markdown b/bash.html.markdown index 0adc2efe..59aeaaf4 100644 --- a/bash.html.markdown +++ b/bash.html.markdown @@ -230,7 +230,9 @@ cat file.txt # We can also read the file using `cat`: Contents=$(cat file.txt) -echo "START OF FILE\n$Contents\nEND OF FILE" # "\n" prints a new line character +# "\n" prints a new line character +# "-e" to interpret the newline escape characters as escape characters +echo -e "START OF FILE\n$Contents\nEND OF FILE" # => START OF FILE # => [contents of file.txt] # => END OF FILE |