可以有更简单的写法,希望您喜欢并采纳:
sed '/^Popeye /{s/[0-9]\{0,2\}\/[0-9]\{0,2\}\/[0-9]\{0,2\}/11\/14\/46/g;}' datebook