Public bug reported:

Binary package hint: lbdb

After an upgrade from dapper to edgy lbdbq produces the following
warning:

$ lbdbq rosenkranz
sort: Warning: "+number" syntax is deprecated, please use "-k number"
lbdbq: 7 matches
[...]

lbdbq is a shell script that calls sort but with a deprecated syntax.
The following patch resolves this problem for me.

--- /usr/bin/lbdbq      2006-06-30 15:30:04.000000000 +0100
+++ lbdbq       2006-10-21 09:14:55.000000000 +0100
@@ -90,10 +90,10 @@
        $MUNGE_KEEPORDER $collection | $TAC > $collection.uniq
        ;;
     *name)
-       $MUNGE $collection | sort -f +1 > $collection.uniq
+       $MUNGE $collection | sort -f -k 1 > $collection.uniq
        ;;
     comment)
-        $MUNGE $collection | sort -f +2 -t'    ' > $collection.uniq
+        $MUNGE $collection | sort -f -k 2 -t'  ' > $collection.uniq
        ;;
     *)
        $MUNGE $collection | sort -f > $collection.uniq

** Affects: lbdb (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
lbdbq uses deprecated sort syntax
https://launchpad.net/bugs/67313

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to