Skip to content

Commit

Permalink
semicolon example
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamas10 committed Aug 26, 2014
1 parent c715657 commit 67d20b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ tabs.

You don't use semicolons on the command line (I hope), don't use them in scripts.

``` bash
# wrong
name='dave';
echo "hello $name";

#right
name='dave'
echo "hello $name"
```

### Functions

Don't use the `function` keyword. All variables created in a function should be
Expand Down

0 comments on commit 67d20b7

Please sign in to comment.