I'm trying to use sed to do a fairly simple replace, but I can't figure out how to get it to do what I want. Here's what I want to do:
Given this block:
  ./crud/Dailies:
    path: ./crud/Dailies
I want to remove the ./*/ part, so the block ends up like this (while preserving whitespace):
  Dailies:
    path: Dailies
Can someone with more knowledge of sed give me a hand here?
 
     
    