diff options
author | Jan Huwald <jh@sotun.de> | 2012-04-23 16:10:42 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-04-23 16:10:42 (GMT) |
commit | e17dffd20dd5139b80799825591b56a68162520a (patch) | |
tree | 4afcbefce7373fdd0f11f6da152ec0fbbfb2c93d | |
parent | b9dd73d067164db087822a39960573345c06aa9b (diff) |
p2ptbl: polish
-rwxr-xr-x | files/common/sbin/p2ptbl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/common/sbin/p2ptbl b/files/common/sbin/p2ptbl index 0a5bae3..3c18855 100755 --- a/files/common/sbin/p2ptbl +++ b/files/common/sbin/p2ptbl @@ -1,6 +1,4 @@ -#!/bin/sh - -set -e +#!/bin/sh -e init () { [ -n "$1" ] || printArgs @@ -48,6 +46,8 @@ update () { } merge () { + # we use sort instead of merge here to be robust in case the rows + # are not sorted sort "$1" "$2" \ | { oldkey="" |