When I run
$ echo -e "ru.unix\nru.unix.ftn\nru.unix.prog" | sort
I get the expected result
ru.unix
ru.unix.ftn
ru.unix.prog
but when I add ' /h' (like beginning of '/home')
$ echo -e "ru.unix /h\nru.unix.ftn /h\nru.unix.prog /h" | sort
I somehow get
ru.unix.ftn /h
ru.unix /h
ru.unix.prog /h
Is it a bug?
I'm using sort (GNU coreutils) 8.4 on Arch Linux with 2.6.32 kernel.