All right, I give up. How to I get sed to insert newlines into text? Right now, I am performing the following trick in my makefile: echo $(OBJECTS) | sed -e "s/\.o/\.o^X/g" | tr '^X' '\012' where $(OBJECTS) is a list of c objects on a single line. This is very slow and it seems plain stupid to have to do this. Any suggestions?