Brent Verner <brent(at)rcfile(dot)org> writes:
> How about strtok_r? I /really/ like the fact that strtok will
> eat either of the tokens ['"] that might be around the sequence
> name... just call me lazy :-)
That behavior creates one of the "corner cases" I was alluding to.
Shall I leave the difficulty as an exercise for the student?
regards, tom lane