如何替换以下字符串
hd_ma_prod_customer_ro:*:123456789:john.doe
与约翰·多伊
基本上我需要查找最后一个冒号 (:) 并删除它之前和包括它的所有内容。
sed
sed ×1