diff -ruN SUNWutref.orig/amgh/utamghref_allkeys_script SUNWutref/amgh/utamghref_allkeys_script --- SUNWutref.orig/amgh/utamghref_allkeys_script 2007-08-22 18:12:12.000000000 +0200 +++ SUNWutref/amgh/utamghref_allkeys_script 2007-08-22 18:12:41.000000000 +0200 @@ -21,7 +21,7 @@ then sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE else - sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE | tail -1 + sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE | tail -n 1 fi } diff -ruN SUNWutref.orig/amgh/utamghref_script SUNWutref/amgh/utamghref_script --- SUNWutref.orig/amgh/utamghref_script 2007-08-22 18:12:12.000000000 +0200 +++ SUNWutref/amgh/utamghref_script 2007-08-22 21:45:01.000000000 +0200 @@ -21,7 +21,7 @@ then sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE else - sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE | tail -1 + sed -n "s/^${key}=${value}[ ].*\(${return_key}=[^ ]*\).*/\1/p" $DBFILE | tail -n 1 fi }