difflist.csh 106 B

1234567
  1. #!/bin/csh
  2. foreach line ( `cat $1` )
  3. echo "search and delete: $line"
  4. sed -i -e "/$line/d" $2
  5. end