print LOG "Parsing patched file.\n";
print LOG `$home/bin/ids_to_dbdump <$orig 2>&1 >orig.db.unsorted`;
$? && error("Error parsing original ID database");
- print LOG `sort +1 <orig.db.unsorted >orig.db`;
+ print LOG `sort -k1 <orig.db.unsorted >orig.db`;
$? && error("Error sorting original ID database");
print LOG `$home/bin/ids_to_dbdump <pci.ids 2>&1 >new.db.unsorted`;
$? && error("Error parsing the patched pci.ids file");
- print LOG `sort +1 <new.db.unsorted >new.db`;
+ print LOG `sort -k1 <new.db.unsorted >new.db`;
$? && error("Error sorting the patched pci.ids file");
print LOG "Finding ID differences.\n";
`diff -U0 new.db orig.db >diffs`;