Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!mcvax!ukc!dcl-cs!david
From: david@comp.lancs.ac.uk (David T. Coffield)
Newsgroups: comp.unix.wizards
Subject: Sed question
Message-ID: <107@dcl-csvax.comp.lancs.ac.uk>
Date: Fri, 12-Dec-86 09:26:33 EST
Article-I.D.: dcl-csva.107
Posted: Fri Dec 12 09:26:33 1986
Date-Received: Mon, 15-Dec-86 20:13:49 EST
Reply-To: david@comp.lancs.ac.uk (David T. Coffield)
Distribution: world
Organization: Department of Computing at Lancaster University, UK.
Lines: 10

In "sed" how can does one form a command to do the following:

Take file A, find the first line beginning with a 150,
append a line of text at that point and then write out
file A (all of it) with the newly inserted line.

Thanks for any help.

(Apologies if this seems a dumb question, but it's Friday afternoon
and I'm fed up with the manual pages...)