Replace demarcation character in sed call