addressing the different forms of sed