diamant@wanginst.UUCP (Ira Diamant) (04/05/85)
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?
diamant@wanginst.UUCP (Ira Diamant) (04/07/85)
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. This is very slow and it seems plain stupid to have to do this. Any suggestions?
lcc.jbrown@UCLA-LOCUS.ARPA (Jordan Brown) (04/12/85)
How about echo $OBJECTS | tr ' ' '\012' ?