sed instruction changed to work with new locale var