> On 09/04/11 05:01, Rostyslaw Lewyckyj wrote:
[...]
>> 2) Where and when is . needed as a concatenation operator?
>
> In an expression. Not in the operands of :echo and friends if you want
> successive expressions to be separated by a single space. IOW,
>
> :echo 'foo' 'bar' 'baz'
> or
> :echo 'foo' . ' ' . 'bar' . ' ' . 'baz'
> or
> :echo 'foo bar baz'
>
> all display the same text.
[...]
P.S. By ":echo and friends" I meant the following commands:
:ec[ho]
:echoe[rr]
:echom[sg]
:echon
:exe[cute]
Best regards,
Tony.
--
Then a man said: Speak to us of Expectations.
He then said: If a man does not see or hear the waters of the Jordan,
then he should not taste the pomegranate or ply his wares in an open
market.
If a man would not labour in the salt and rock quarries then he should
not accept of the Earth that which he refuses to give of himself.
Such a man would expect a pear of a peach tree.
Such a man would expect a stone to lay an egg.
Such a man would expect Sears to assemble a lawnmower.
-- Kehlog Albran, "The Profit"
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment