From: Michal 'vorner' Vaner Date: Fri, 2 Jul 2010 07:02:01 +0000 (+0200) Subject: Sort no longer support +1, using -k1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=34f7b35b70d74a0a16319570c8bcc88e2775dc09;p=pciids.git Sort no longer support +1, using -k1 --- diff --git a/scripts/mailbot b/scripts/mailbot index 256b161..f2eab76 100755 --- a/scripts/mailbot +++ b/scripts/mailbot @@ -198,11 +198,11 @@ sub process 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`; + print LOG `sort -k1 orig.db`; $? && error("Error sorting original ID database"); print LOG `$home/bin/ids_to_dbdump &1 >new.db.unsorted`; $? && error("Error parsing the patched pci.ids file"); - print LOG `sort +1 new.db`; + print LOG `sort -k1 new.db`; $? && error("Error sorting the patched pci.ids file"); print LOG "Finding ID differences.\n"; `diff -U0 new.db orig.db >diffs`;