diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2016-04-05 13:31:31 +0100 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-05 10:57:32 -0700 |
commit | 9e93ddc0978644d0670e192052619bb4710041e7 (patch) | |
tree | b290895b196d47ebdf5fc16e795f94e35d314e73 /doc_src | |
parent | 3435e94994268caba16e67780bb71381332334b7 (diff) |
Fix a couple of minor issues in string examples
Print correct return code in 2nd example
Remove syntax colouring in \cg
Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/string.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/string.txt b/doc_src/string.txt index 1a3f2ea1..bae21dc9 100644 --- a/doc_src/string.txt +++ b/doc_src/string.txt @@ -57,7 +57,7 @@ The following subcommands are available: >_ set str foo >_ string length -q $str; echo $status -1 +0 # Equivalent to test -n $str \endfish @@ -103,7 +103,7 @@ The following subcommands are available: \fish{cli-dark} >_ echo \\x07 | string escape -<bs>c</bs>g +<bs>cg</bs> \endfish \subsection string-example-match-glob Match Glob Examples |