I noticed that my select(1) text database program would fail on lines longer than 1000 characters. The bug had to do with handling continuation lines incorrectly. An easy fix once I diagnosed it.