[talk] insert line after matched pattern (fwd)

freebsd at fongaboo.com freebsd at fongaboo.com
Wed Aug 19 11:59:25 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"

_______________________________________________
CDBUG-talk mailing list
CDBUG-talk at lists.nycbug.org
http://lists.nycbug.org/mailman/listinfo/cdbug-talk




More information about the talk mailing list