If this is an exercise in sed-fu, does that mean awk isn't allowed? :) -- Ed Cashin <ecashin at noserose.net> http://noserose.net/e/ http://www.coraid.com/