mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Revert
@@ -10,7 +10,7 @@ cat file | while IFS= read -r i; do echo "${i%?}"; done
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
tr ' ' _ < file | nl
|
||||
< file tr ' ' _ | nl
|
||||
while IFS= read -r i; do echo "${i%?}"; done < file
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user