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...)