This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: dot five-o series versions - GDB 6.2.50


Andrew Cagney wrote:

...

> cagney@nettle$ sort -t. -k1,1n -k2,2n -k3,3n x

...

> I'm not sure I understand the problem, dot is a field separator rather 
> than decimal place.

That would be fine if commonplace sorts obeyed that logic.
The most common sort in my world is /bin/ls which fails to
conform.  Any scheme is which lexical sorting produced a
correct result would be preferable.

/john


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]