Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

KEYSTACK and double-double quotes dropping spaces

Jan
10
0
As documented,
KEYSTACK "abc " ""def""​
sends:
abc "def"​

As not documented
KEYSTACK ""abc "" "def"​
sends:
"abc"def​
not:
"abc" def​

All spaces in double-double quoted strings are dropped. Is this a bug?
 
this one is funny, too:

>KEYSTACK "abc " "" def""

>abc "def""

or

>KEYSTACK "abc " "" ""

>abc ""
 
WAD; KEYSTACK is correct; the help is wrong (or at least incomplete).

Two double quotes does not make a single leading double quote for a string argument, it just makes a single double quote, unrelated to anything that follows. So in your example, what you would want to enter is:

> keystack "" "abc" "" " def"
>"abc" def
 

Similar threads

Back
Top