Use && within example.

Fixes #57
This commit is contained in:
Joshua Levy
2015-06-17 15:50:38 -07:00
parent b4900c408e
commit f65245236f

View File

@ -84,7 +84,7 @@ Scope:
- In Bash scripts, subshells (written with parentheses) are convenient ways to group commands. A common example is to temporarily move to a different working directory, e.g. - In Bash scripts, subshells (written with parentheses) are convenient ways to group commands. A common example is to temporarily move to a different working directory, e.g.
```bash ```bash
# do something in current dir # do something in current dir
(cd /some/other/dir; other-command) (cd /some/other/dir && other-command)
# continue in original dir # continue in original dir
``` ```