Re: sort without ignoring hyphens



tc314@xxxxxxxxxxx schreef:

unsorted:
22
2-2
2-3
23
21

linux sort produces:
21
22
2-2
23
2-3

$ echo '
21
22
2-4
2-2
23
2-3
' |sort -n


2-2
2-3
2-4
21
22
23

--
Affijn, Ruud

"Gewoon is een tijger."
.