$ echo http://foobar.com/mai/path/meme.png | sed 's@/mai/path@/sweet/new/path@' http://foobar.com/sweet/new/path/meme.png
@sedy |foo/bar|foo|g ?
Reply on news.ycombinator.com