Projekt

Allgemein

Profil

Fehler #669

Von Maximilian Seesslen vor 1 Tag aktualisiert

The command 'sort' behaves different on different machines.
https://stackoverflow.com/questions/28881/why-doesnt-sort-sort-the-same-on-every-machine
Set 'LC_ALL' to 'C' when sorting.

echo -e "stm32f0xx_hal_adc.c\nstm32f0xx_hal_adc_ex.c\nstm32f0xx_hal.c\n" | env LC_ALL=C sort
stm32f0xx_hal.c
stm32f0xx_hal_adc.c
stm32f0xx_hal_adc_ex.c

Zurück