[CDBUG-talk] insert line after matched pattern

freebsd at fongaboo.com freebsd at fongaboo.com
Wed Aug 19 11:35:53 EDT 2015


Anyone know how to insert a line after a matched pattern using sed, awk or 
any other method that gets the job done? Any tutorials I find seem not to 
work in BSD due to GNU sed vs. non-GNU?

  -------------------------------------------------------------------------
  shot through the heart              ooh baby do you know what that's worth
  and you're to blame                         ooh heaven is a place on earth
  darling you give love                  they say in heaven love comes first
  a bad name                              we'll make heaven a place on earth
  ORBITAL                                                     "Halcyon Live"



More information about the CDBUG-talk mailing list