question on sed

Ira Diamant diamant at wanginst.UUCP
Fri Apr 5 11:53:16 AEST 1985


	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?



More information about the Comp.unix mailing list