Hamish wrote: > sscanf()'s %s stops scanning the buffer at a space so just > the first part was picked up. I'm a little rusty on my > formatting codes but I believe %*s will keep going to the > end of the line. would %[^\n] be better? Hamish