Re: tools.c -> strwordtok() and '\' character

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 7 Aug 2003 14:01:02 +0200 (CEST)

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.

If you want a \ then you need to type \\, or use / as Guido said.

Regards
Henrik
Received on Thu Aug 07 2003 - 06:01:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST