mirror of
https://github.com/VibeDarling/class-dump.git
synced 2026-11-15 09:48:10 -10:00
opendiff on Lion takes at least 4 seconds, even for two small, trivial comparisons. This makes is useless for comparing large numbers of files. Kaleidoscope keeps all the files open, and runs into file handle limits. Both make key and order front the new windows, which make the computer unusable for other tasks while running a script that calls opendiff/ksdiff repeatedly. This uses colordiff from <http://colordiff.sourceforge.net/>
14 lines
149 B
Bash
Executable File
14 lines
149 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
pushd /tmp/cdt/new
|
|
foreach i (*.txt)
|
|
echo -e "\\033[32m"
|
|
echo $i
|
|
echo -e "\\033[0m"
|
|
diff ../old/$i $i | colordiff.pl
|
|
echo
|
|
echo
|
|
echo
|
|
|
|
end
|