Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site wanginst.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!decvax!wanginst!diamant From: diamant@wanginst.UUCP (Ira Diamant) Newsgroups: net.unix Subject: question on sed Message-ID: <455@wanginst.UUCP> Date: Thu, 4-Apr-85 20:53:16 EST Article-I.D.: wanginst.455 Posted: Thu Apr 4 20:53:16 1985 Date-Received: Sun, 7-Apr-85 04:18:34 EST Distribution: net Organization: Wang Institute, Tyngsboro, Ma. 01879 Lines: 11 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?