Current Path : /usr/local/bin/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/bin/gendiff |
#!/bin/sh [ -z "$1" -o -z "$2" ] && { # usage echo "usage: $0 <directory> <diff-extension>" 1>&2 exit 1 } find $1 \( -name "*$2" -o -name ".*$2" \) -print | while read f; do diff -u $f `echo $f | sed s/$2\$//` done