From 1166c878be914ebe8bd57702b4202a33be6b57c1 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 22 Jun 2016 20:38:36 +0200 Subject: [PATCH] Improve copy around single equal signs #34 Thanks to galaktos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9b9df0..b941cc6 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ $ my_script some more args --blah 1. Use two spaces for tabs 1. Use long options (`logger --priority` vs `logger -p`). If you're on cli, abbreviations make sense for efficiency. but when you're writing reusable scripts a few extra keystrokes will pay off in readability and avoid ventures into man pages in the future by you or your collaborators. Similarly, we prefer `set -o nounset` over `set -u`. -1. Use a single equal sign when checking `if [ "${NAME}" = "Kevin" ]`, double or triple signs are not needed in Bash +1. Use a single equal sign when checking `if [ "${NAME}" = "Kevin" ]`, double or triple signs are not needed. ### Safety and Portability