On Thu, 7 Aug 2003 14:01:02 +0200 (CEST) Henrik Nordstrom <[EMAIL PROTECTED]> wrote:
On Thu, 7 Aug 2003, Evgeny Kotsuba wrote:
What is the reason that tools.c -> strwordtok() eats all '\' characters ?
Because strwordtok splits strings into words according to UNIX "shell" syntax. The \ is a special escape character in such context.
From formal point of view strwordtok has nothing conmmon with shell syntax.
/*
* Similar to strtok, but has some rudimentary knowledge
* of quoting
*/
If you still can't understand - give something like "\n\t\r\f\b\a" to strwordtok
SY, Evgeny Kotsuba
