#!/bin/sh dupview $1 $2 cd $2 patch -p1 < $3 cd ..