[Cialug] Dude, Where's My Sort?

David Champion dchamp1337 at gmail.com
Thu Mar 26 16:15:29 UTC 2020


You've pasted some odd characters there for your numbers...

Retyped and it works.

$ printf '%s\n' 2 1 | sort
1
2

-dc


On Thu, Mar 26, 2020 at 11:06 AM Todd Walton <tdwalton at gmail.com> wrote:

> Check it out:
>
> [prompt]$ sort --version
> sort (GNU coreutils) 8.22
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html
> >.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Mike Haertel and Paul Eggert.
>
> [prompt]$ printf '%s\n' 2 1 | sort
>>>
> It didn't sort.
>
> --
> Todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>


More information about the Cialug mailing list