Bash coding style: compact function declarations