diff --git a/bash.md b/bash.md index cfae95253..28ec038df 100644 --- a/bash.md +++ b/bash.md @@ -260,7 +260,7 @@ done ### Reading lines ```bash -< file.txt | while read line; do +cat file.txt | while read line; do echo $line done ```