Don't use sed, use print instead