[Discuss] 'C' string tokenizer for those who hate strtok

David Bronaugh dbronaugh at linuxboxen.org
Fri Jun 30 01:32:40 PDT 2006


Brian Quinlan wrote:
> David Bronaugh wrote:
>> For amusement I rewrote your main.c file... it was amusing.
>
> For fun, I rewrote it in Python. Note that this would be considered 
> bad Python code, but I tried to follow the same call pattern as the C 
> code:
Yeah, I could write a Perl one-liner, but why bother? Not the point.

David


More information about the Discuss mailing list