Browse Source

Use && within example.

Fixes #57
pull/63/head
Joshua Levy 10 years ago
parent
commit
f65245236f
  1. 2
      README.md

2
README.md

@ -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
``` ```

Loading…
Cancel
Save