Bug#373704: sort -k does not count fields the same as gnu sort
Geert Stappers, le Thu 24 Aug 2006 09:46:54 +0200, a écrit :
> > It doesn't seem to be fixed:
> >
> > $ sort -k5 -t/ -n
> ^^
> > /usr/lib/finish-install.d/99reboot
> > /usr/lib/prebaseconfig.d/50brltty
> > ^D
> > /usr/lib/finish-install.d/99reboot
> > /usr/lib/prebaseconfig.d/50brltty
> >
> > While it would be expected to see 50brltty coming before 99reboot.
>
> How does it behave when you leave out the "numeric" ( -n ) ?
Just the same:
$ sort -k5 -t/
/usr/lib/finish-install.d/99reboot
/usr/lib/prebaseconfig.d/50brltty
^D
/usr/lib/finish-install.d/99reboot
/usr/lib/prebaseconfig.d/50brltty
Samuel
Reply to: