FYI, this `sed` is almost certainly going to fail in CDH4.4.