reformat unix groups