From deb34f6cb8902277ac4cf4feca1b44c1ba085f98 Mon Sep 17 00:00:00 2001 From: zlg Date: Thu, 18 Oct 2018 21:06:58 -0700 Subject: README: fix inline formatting --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a11163c..ab750b5 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,9 @@ $ vgstash add 'Mario Kart: Double Dash!!' GCN p n ``` Note that we're using single quotes; if we used double quotes, then the `!!` -would expand to the last command entered into the shell, creating `Mario Kart: -Double Dash`. Quite different from what you'd expect! +would expand to the last command entered into the shell, creating +`Mario Kart: Double Dash`. Quite different from what +you'd expect! But what if we, somehow, had both single quotes *and* sequential exclamation points? Single-quoted strings cannot escape a single quote character. Double @@ -133,7 +134,7 @@ quotes; then an escaped single quote for literal output; then `s crazy!!` in single quotes to avoid the `!!` expansion. The last option is to disable the feature (history expansion) altogether, though -you'll miss out on nice stuff like `sudo !!`. In bash, it's disabled with `set +you'll miss out on nice stuff like `sudo !!`. In bash, it's disabled with `set +H` or `set +o histexpand`. Change `+` to `-` to turn it back on when you're done. -- cgit v1.2.3-54-g00ecf ee/ch2/2-02_no-logical-operators.c?id=893e4a375873f4b98d8691ffafbba8a2ccb1b55d'>treecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21Refactor flag handlingzlg3-24/+51