bash instead of sed