It is unlikely sed is broken. http://www.student.northpark.edu/pemente/sed/sedfaq.html 4.5. How do I parse a comma-delimited data file? -- Regards, tummy.com, ltd Evelyn Mitchell Linux Consulting since 1995 efm at tummy.com Senior System and Network Administrators http://www.tummy.com/