> Always in src/hyper/search.pamphlet, the chunk/file htsearch uses
> 'sort ... +number ...' which issues a warning on my system :
> sort: Warning: "+number" syntax is deprecated, please use "-k number"
>
The following removes the warning. OTOH I am not sure if all our
potential targets support '-k' option to sort.
diff -u build-improvements.bb/src/hyper/search.pamphlet
build-improvements/src/hyper/search.pamphlet
--- build-improvements.bb/src/hyper/search.pamphlet 2006-11-05
23:55:40.000000000 +0100
+++ build-improvements/src/hyper/search.pamphlet 2006-11-10
18:51:14.000000000 +0100
@@ -26,7 +26,7 @@
then
echo ""|$htbindir/presea case=1 -
else
-( cd $htpagedir; $htbindir/hthits "$1" $htpagedir/ht.db |sort -r -n +0.22
|$htbindir/presea case=0 expr="$1" -)
+( cd $htpagedir; $htbindir/hthits "$1" $htpagedir/ht.db |sort -r -n -k 1.22
|$htbindir/presea case=0 expr="$1" -)
fi
@
<<presea>>=
--
Waldek Hebisch
[EMAIL PROTECTED]
_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer