Fix bad example in docs for test -n $MANPATH

Fixes #1574
This commit is contained in:
ridiculousfish 2014-07-29 14:44:51 -07:00
parent 52ae5f885e
commit 8144725739

View File

@ -73,10 +73,12 @@ if test -d /tmp
end
</pre>
If the variable \c MANPATH is defined and not empty, print the contents:
If the variable \c MANPATH is defined and not empty, print the contents.
(If \c MANPATH is not defined, then it will expand to zero arguments, unless
quoted.)
<pre>
if test -n $MANPATH
if test -n "$MANPATH"
echo $MANPATH
end
</pre>