+# on 2013/07/01
+#
+# - corrected a MAJOR logic error in the remove
+# function. The comparison was being done across the
+# entire line of the agent keys file, so both IPs
+# and the SSH keys at the end could be matched against
+# the 'agent ID' wanting to be removed. Changed the
+# match to only compare the first column of the file
+# - added an error output message to the remove
+# function if it's fed an 'agent ID' that doesn't
+# exist
+# - the script now also removes the corresponding
+# associated agent rid files after a successful remove
+# operation, or gives an error on failure
+#
+##########################################################
+# Modified by Tim Meader (Timothy.A.Meader@nasa.gov)