Escaped first $ in double quoted sed command.