Fehler #669
List files are altered on different hosts
Beginn:
16.08.2025
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
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