Peter's zsh configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mkpatches 313B

1234567891011
  1. #!zsh
  2. ################################################################################
  3. # Generate a patch set from files that end in .orig.
  4. for orig in `find . -name '*.orig'`; do
  5. name=`echo $orig | sed 's/\.orig$//g'`
  6. patch="$name.patch"
  7. echo "$orig $name ==> $patch"
  8. diff -u $orig $name > $patch
  9. done