#!/usr/bin/awk -f # Supports only "simple" diff3 style conflicts. Criss-cross conflicts are not supported. BEGIN { if (TARGET !~ /^(LOCAL|BASE|REMOTE)$/) { print "Usage: ./split3.awk {7}( .+)?$/ { PRINT = 1 next } PRINT { print }