Vladimir Dronnikov wrote:
> A question: why not simply strchrnul(line, delims[0]) = '\0' but bothering
> with comments in every token?

It's faster. strchrnul has to first seek to end of line.

> And meanwhile 'parse' testsuite, please.

Ah, shows one bug, PARSE_TRIM does not trim delimiters from end of the
last token. Will fix.

- Timo
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to