objectrepository and odme (was Re: 3002 update breaks uucico
John R. Miller
john at fulcrum.austin.ibm.com
Sat Jan 12 14:01:08 AEST 1991
In article <JOHN.91Jan11215312 at fulcrum.austin.ibm.com> john at 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 at glasnost.austin.ibm.com
home: 512/331-0155 john at crcaus.cactus.org
More information about the Comp.unix.aix
mailing list