[Cialug] Dude, Where's My Sort?

Scott Yates Scott at yatesframe.com
Thu Mar 26 16:23:27 UTC 2020


Ya, those are not actual ascii numbers.

On Thu, Mar 26, 2020 at 11:16 AM David Champion <dchamp1337 at gmail.com>
wrote:

> 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
> > 2
> > 1
> >
> > It didn't sort.
> >
> > --
> > Todd
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>


More information about the Cialug mailing list