#!/bin/sh # # Script to determine the unused IDs both on local and remote machine # /opt/bin/assigned_ids >/tmp/assigned_ids.bi.$$ rsh sunfi1.fi.sdm.de -l remote /opt/bin/assigned_ids >/tmp/assigned_ids.fi.$$ rc=$? # if [ "$rc" != "0" ] then echo echo "Could not access remote host!" echo exit $rc fi # /opt/bin/extract_ids /tmp/assigned_ids.bi.$$ /tmp/assigned_ids.fi.$$ | more # rm -f /tmp/assigned_ids.bi.$$ rm -f /tmp/assigned_ids.fi.$$