bash sample help

Implementation example

Notice

* Bash ignores most of syntax errors.
* Spaces are important especially in conditions.