|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
How is 'sort +2n +0n' translated into posix sort, or, for that matter,
gnu sort ? Install script for some sw i'm trying to install has 'sort +2n +0n' and my sort refuses to understand it. Thanks Yakov |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
2006-11-3, 10:37(-08), Yakov:
> How is 'sort +2n +0n' translated into posix sort, or, for that matter, > gnu sort ? > Install script for some sw i'm trying to install has 'sort +2n +0n' and > my > sort refuses to understand it. [...] sort -k 3n -k 1n though you may prefer sort -k 3,3n -k 1,1n _POSIX2_VERSION=199209 sort +2n +0n should work with GNU sort. -- Stéphane |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Stephane CHAZELAS wrote: > 2006-11-3, 10:37(-08), Yakov: > > How is 'sort +2n +0n' translated into posix sort, or, for that matter, > > gnu sort ? > > Install script for some sw i'm trying to install has 'sort +2n +0n' and > > my > > sort refuses to understand it. > [...] > > sort -k 3n -k 1n > > though you may prefer > > sort -k 3,3n -k 1,1n > > > _POSIX2_VERSION=199209 sort +2n +0n > > should work with GNU sort. Thanks Yakov |
|
![]() |
| Outils de la discussion | |
|
|