diff options
Diffstat (limited to 'doc_src/begin.txt')
-rw-r--r-- | doc_src/begin.txt | 6 |
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> |