Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!romp!auschs!awdprime!john From: john@fulcrum.austin.ibm.com (John R. Miller) Newsgroups: comp.unix.aix Subject: Re: objectrepository and odme (was Re: 3002 update breaks uucico Message-ID: Date: 12 Jan 91 03:01:08 GMT References: <1001@pan.UUCP> <27@softpro.stgt.sub.org> <4704@awdprime.UUCP> <663467505.4708@mindcraft.com> Sender: news@awdprime.UUCP Reply-To: john@glasnost.austin.ibm.com Organization: IBM AWD, Austin, TX Lines: 16 In-reply-to: john@fulcrum.austin.ibm.com's message of 12 Jan 91 02:53:12 GMT In article john@fulcrum.austin.ibm.com (John R. Miller) writes: Piping it through the following sed command will combine ids and descriptions (of course, 'name' should be replaced with 'text' when using it on the output of the third command). # Combine the id with the description on one line. sed -n -e N -e 's/"\n name = "/" "/' -e p That should be a tab between the newline and name: sed -n -e N -e 's/"\n->name = "/" "/' -e p -- John R. Miller (not to be confused with my employer) work: 512/823-3867 john@glasnost.austin.ibm.com home: 512/331-0155 john@crcaus.cactus.org