In article <[EMAIL PROTECTED]> you wrote:
> I think i found a minor bug in the openpkg-20020312-20020312 rc
> facility. In the script section "# execute/print the scripts in order" i
> found a statement "echo $list | tr ',' '\012' | sort" after list was
> previously build from the -p (priority) parameter from any rc.package
> file. The sort order might be wrong as sort doesn't sort by number but
> string unless -n option is given.
>
> $ list="5:foo:foouser,40:bar:baruser,3:quux:quuxser"; echo $list | tr
> ',' '\012' | sort
> 3:quux:quuxser
> 40:bar:baruser
> 5:foo:foouser
>
> $ list="5:foo:foouser,40:bar:baruser,3:quux:quuxser"; echo $list | tr
> ',' '\012' | sort -n
> 3:quux:quuxser
> 5:foo:foouser
> 40:bar:baruser
Now fixed with openpkg-20020402-20020402 and higher if available.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]