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


The only comment I habe is you wouldnt want any more than 4 point releases, before it got confusing.

Because as a number .5 = .50, and .6 is greater than .50

So either the rule should be no more than 4 M.N.* Releases. or when you get to .4, you start going to .41, .42, .43 etc
or just number from .01 ie 6.3.01  otherwise the sequence isnt numeric, its a list of numbers and wont sort properly (using standard ascii or numberic sorts).

cagney@nettle$ cat x 6.2 6.2.1 6.2.90 6.2.2 6.2.50 6.2.3 6.2.51 6.2.4 6.2.52 6.2.5 6.2.91 6.2.6 6.2.54 6.2.7 6.2.93 6.2.8 6.2.53 6.2.9 6.2.92 6.2.10 cagney@nettle$ sort -t. -k1,1n -k2,2n -k3,3n x 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.2.10 6.2.50 6.2.51 6.2.52 6.2.53 6.2.54 6.2.90 6.2.91 6.2.92 6.2.93

("n" likes to consume "." which breaks the simpler -k1,3n)

> So basically does .1 mean .01 and if so why not call it .01?

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

Andrew


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