File: do-diff

package info (click to toggle)
fwbuilder 5.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 41,192 kB
  • sloc: cpp: 185,790; sh: 71,182; ansic: 4,345; xml: 3,488; python: 83; makefile: 74; perl: 49
file content (14 lines) | stat: -rwxr-xr-x 170 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

T=$1
N=$2

if which opendiff > /dev/null; then
  TOOL="opendiff"
else
  TOOL="tkdiff -b -B "
fi

${TOOL} firewall${N}-${T}.conf.orig firewall${N}-${T}.conf