aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/begin.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-12-11 23:47:23 +1000
committerGravatar axel <axel@liljencrantz.se>2006-12-11 23:47:23 +1000
commit3a29028f603e6828c6b4571bc8c590c02763bd95 (patch)
treee35d149d9d65da82a58f2ac4b2ff484cfd7cf673 /doc_src/begin.txt
parentf4af7603daf24325d5d1aca00e37ea40d6aa03a6 (diff)
Fix broken example in the documentation for the begin builtin
darcs-hash:20061211134723-ac50b-6ea37b6dca30a85d00651129a762d8a9d95d40a2.gz
Diffstat (limited to 'doc_src/begin.txt')
-rw-r--r--doc_src/begin.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc_src/begin.txt b/doc_src/begin.txt
index acc26982..b4a822c3 100644
--- a/doc_src/begin.txt
+++ b/doc_src/begin.txt
@@ -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>