-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2129
Vidar Holen edited this page Oct 4, 2015
·
7 revisions
echo foo >> file
date >> file
cat stuff >> file
{
echo foo
date
cat stuff
} >> file
Rather than adding >> something
after every single line, you can simply group the relevant commands and redirect the group.
This is mainly a stylistic issue, and can freely be ignored.