File: merge-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 (14 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

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

echo Merge script called with args:
echo "Working label:  $1"
echo "Working file:   $2"
echo "Common label:   $3"
echo "Commonfile:     $4"
echo "Selected label: $5"
echo "Selected file:  $6"
echo "Output file:    $7"

exec diff3 -maE "-L$1" "$2" "-L$3" "$4" "-L$5" "$6" > "$7"