From 62b98a5c9bc15fde9ef8905314f34ff77c6a5de8 Mon Sep 17 00:00:00 2001 From: Joshua Levy Date: Fri, 26 Aug 2016 09:09:33 -0700 Subject: [PATCH] Rework formatting on one item. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6afaf39..85d7db6 100644 --- a/README.md +++ b/README.md @@ -147,13 +147,12 @@ Notes: diff /etc/hosts <(ssh somehost cat /etc/hosts) ``` -- When writing scripts you may want to put all of your code in curly braces: -```sh +- When writing scripts you may want to put all of your code in curly braces. If the closing brace is missing, your script will be prevented from executing due to a syntax error. This makes sense when your script is going to be downloaded from the web, since it prevents partially downloaded scripts from executing: +```bash { # Your code here } ``` -If the closing brace is missing, your script will be prevented from executing due to a syntax error. This makes sense when your script is going to be downloaded from the web, since it prevents partially downloaded scripts from executing. - Know about "here documents" in Bash, as in `cat <