Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!lll-lcc!dual!ptsfa!ptsfd!ria From: ria@ptsfd.UUCP (Rich Anderson) Newsgroups: net.unix Subject: global ed join Message-ID: <359@ptsfd.UUCP> Date: Mon, 12-May-86 01:05:11 EDT Article-I.D.: ptsfd.359 Posted: Mon May 12 01:05:11 1986 Date-Received: Wed, 14-May-86 07:35:42 EDT Organization: Pacific * Bell, San Francisco Lines: 19 Keywords: ed join global Using ed on the "file" below (beginning with "stu_f_name Sam"), g/stu_f//stu_f/,/stu_f/+1j joins the first and last names of the first two "records" but not the last. Why doesn't it do the entire job? stu_f_name Sam Hazeltine phone 939393 ssn 030303030 stu_f_name Joe Waters phone 93939 ssn 030303030 stu_f_name Joe Waters phone 93939 ssn 030303030