#!/bin/sh -

#
# nodup 1.00 - merge duplicates
#
# Oleg Kibirev * April 1995 * oleg@gd.cs.CSUFresno.EDU
#
# This code is covered by General Public License, version 2 or any later
# version of your choice. You should recieve file "COPYING" which contains
# text of the license with any distribution of this program; if you don't 
# have it, a copy is available from ftp.gnu.ai.mit.edu.
#


while read i; do
  set $i
  file1="$2"
  while [ ! -z "$3" ]; do
    rm -f "$3"
    ln "$file1" "$3"
    shift
  done
done
