Re:Something about functions in Bash (2017)
by mehrdadn on Thursday July 05, 2018 @08:37PM
(#17468068)
What sucks is that if you're e.g. in GRUB2 then you HAVE to use "function" [1], so you have to know when to use both styles... you can't just pick one and ignore the other entirely. (Not sure if there are other sorta-POSIX places where 'function' is required, though?)
[1] https://www.gnu.org/software/grub/manual/grub/grub.html