File: diff-command

package info (click to toggle)
prcs 1.2.15-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,928 kB
  • ctags: 3,129
  • sloc: cpp: 16,742; ansic: 5,725; sh: 2,545; lisp: 1,812; perl: 642; lex: 351; makefile: 165; 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"