Bash functions are essentially reusable wrappers around commands. You can use them to define complex command pipelines or to perform some detailed work and echo the result. They accept arguments and ...
The C and C++ standards do not specify the order of evaluation for function arguments. This can lead to subtle portability problems. As I explained in my column last month (“As Precise As Possible”), ...