ITADN

Local issue with join

#14Closedjlaunay 创建于 2023-12-15
J
jlaunaycommented
As my locale is French (fr_FR.utf8) I had the following error: join: input is not in sorted order ``` join: /proc/self/fd/11:74 : n'est pas trié : gtklock-git 2.1.0.r14.g6732a03-1 join: l'entrée n'est pas dans l'ordre trié ``` To avoid any locale-related issues, it is recommended to use the 'C' locale with join [here](https://github.com/L11R/waybar-updates/blob/01b97dc0fddd0501636daf3294eb4b747618c27d/waybar-updates#L72C21-L72C21) `aur_updates=$(LC_ALL=C join <(echo "$old_aur_packages") <(echo "$new_aur_packages")`
关闭于 2023-12-18 6 条评论