#sccs "@(#)fndetc/convert:formconvert 1.3" # Arg1 is the location of the saved file - full path in /u/SAVE # Arg2 is the full path in the system of the newly read in file # from the foundation set which overwrote what used to be there. OLDFILE=$1 NEWFILE=$2 if grep "Name" $OLDFILE > /dev/null 2>&1 then ed - $OLDFILE >/dev/null << -END- ?Menu? /Name/ .,\$w /tmp/xxx q -END- cat /tmp/xxx >> $NEWFILE rm -f /tmp/xxx fi # the calling program worries about cleanup of $OLDFILE