This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am phuongleeo on github. | |
* I am phuongley (https://keybase.io/phuongley) on keybase. | |
* I have a public key ASBWYTkQRh9VNdhyRkM2HpjZ2TVuaaV9GtFrv8moLnFPEAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bash best practices and style-guide | |
Just simple methods to keep the code clean. | |
Inspired by [progrium/bashstyle](https://github.com/progrium/bashstyle) and [Kfir Lavi post](http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming/). | |
## Quick big rules | |
* All code goes in a function | |
* Always double quote variables |
I hereby claim:
- I am phuongleeo on github.
- I am phuongleeo (https://keybase.io/phuongleeo) on keybase.
- I have a public key ASA71-sGSOZnaDv6Hyj7N6WhiWZpWRkABLTxVREHvpWKKAo
To claim this, I am signing this object: