File: diff-command

package info (click to toggle)
prcs 1.3.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,304 kB
  • ctags: 3,395
  • sloc: cpp: 17,388; ansic: 8,305; sh: 2,621; lisp: 1,816; perl: 649; lex: 354; makefile: 208; pascal: 85
file content (11 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# An example of how to treat the arguments to a PRCS_DIFF_COMMAND.

echo Diff script called with args:
echo "From label:  $1"
echo "From file:   $2"
echo "To label:    $3"
echo "To file:     $4"

exec diff "-L$1" "$2" "-L$3" "$4"