yunion.io/x/cloudmux@v0.3.10-0-alpha.1/scripts/diff.sh (about) 1 #!/bin/bash 2 3 target_dir=$1 4 src=$2 5 6 #diff -u "$src" "$target_dir/$src" | nvim -R - 7 colordiff -u "$target_dir/$src" "$src" | less