Michael Glenn <mike(at)mglenn(dot)com> writes:
> It's been quite a while since I've actually programmed in C but it
> appears to have worked.
Looks reasonable. Could I trouble you for the output with switches -f -i
though? It's the item details we need.
regards, tom lane