> >>> The issue is extremely nontrivial.
> >>
> >> The normal case is to sort full releases.  The goal in "sort -V" was to 
> >> make
> >> the usual case easy, not to make the authoritative solution for an 
> >> intractable
> >> problem. [...]  In my little world, it would be quite convenient.
> >
> > This is an excellent argument for a utility to perform version comparisons.
> > Such a program could be arbitrarily complex.  This feature is too new to
> > know how it will evolve.
> 
> /usr/bin/test ?
> 
> Do this first in the binary then migrate to bash's test?

I was actually making an argument for an entirely separate utility to do
this.  That could be a shell script encapsulating the proper version
comparison logic.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

Reply via email to