bash: fix line reading example (#1336)

bash: fix line reading example
This commit is contained in:
Rico Sta. Cruz 2020-01-28 11:02:45 +11:00 committed by GitHub
commit 30ca1950aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ done
### Reading lines
```bash
< file.txt | while read line; do
cat file.txt | while read line; do
echo $line
done
```