no need to double replace name if gnu-sed is present