Give a sed command to, when given a file, replace all occurr…
Give a sed command to, when given a file, replace all occurrences of dog, regardless of whether the first letter is uppercase or not, with cat. The rest of it, “og”, must be lowercase in order for it to be replaced.