Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protector-stron> uname output: Linux ubuntu 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_> Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0 Patch Level: 17 Release Status: release Description: sorting lines where some starts with @ and some doesn't, it will not sort the lines correct Repeat-By: echo "xxaxxon" > test.txt echo "@zorg" >> test.txt echo "@jupiterlander" >> test.txt cat test.txt | sort Note it prints out: @jupiterlander xxaxxon @zorg Expected: @jupiterlander @zorg xxaxxon