49
edits
| Line 87: | Line 87: | ||
> echo bob fred | > echo bob fred | ||
bob fred | bob fred | ||
</kua> | </kua> | ||
: 'echo' takes the whole 'other text' as the value to print. | : 'echo' takes the whole 'other text' as the value to print. | ||
| Line 96: | Line 94: | ||
'bob' is 'fred' | 'bob' is 'fred' | ||
</kua> | </kua> | ||
: 'set' takes only the first two separated by space for the 'name' and 'value' parameters. | : 'set' takes only the first two separated by space for the 'name' and 'value' parameters, and ignores james. | ||
<kua> | |||
> echo bob "fred" 1234 | |||
bob "fred" 1234 | |||
</kua> | |||
: 'echo' still takes the whole 'other text' even with quotes. | |||
<kua> | |||
> set bob "fred james" | |||
> bob | |||
'bob' is 'fred james' | |||
</kua> | |||
: The quotes with 'set' now treat james as part of the second parameter, and the quotes themselves are stripped. | |||
== Notes == | == Notes == | ||
* | * | ||