awk or perl either one should handle this... if I remember correctly, IFS=~ is essential here... would elaborate, but gotta go head out for the meeting... -- Dave