Fix broken example in the documentation for the begin builtin

darcs-hash:20061211134723-ac50b-6ea37b6dca30a85d00651129a762d8a9d95d40a2.gz
This commit is contained in:
axel 2006-12-11 23:47:23 +10:00
parent f4af7603da
commit 3a29028f60

View file

@ -23,11 +23,11 @@ scope, they will be automatically deleted when the block ends.
<pre>
begin
set -x PIRATE Yarrr
set -l PIRATE Yarrr
...
end
# This will not output anything, since PIRATE went out of scope at the end of
# the block and was killed
# This will not output anything, since the PIRATE variable went out
# of scope at the end of the block
echo $PIRATE
</pre>