mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Performance effects mentioned
@@ -21,7 +21,7 @@ cat stuff >> file
|
||||
|
||||
### Rationale:
|
||||
|
||||
Rather than adding `>> something` after every single line, you can simply group the relevant commands and redirect the group.
|
||||
Rather than adding `>> something` after every single line, you can simply group the relevant commands and redirect the group. So the file has to be opened and closed only once and it means a performance gain.
|
||||
|
||||
### Exceptions:
|
||||
|
||||
|
Reference in New Issue
Block a user