Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  split3.awk  Sprache: unbekannt

 
Spracherkennung für: .awk vermutete Sprache: R {R[15] BAT[8] MT940[8]} [Methode: maximale Elemente, drei Dimensionen]

#!/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 <file_with_diff3_conflict_markers -v TARGET={LOCAL,BASE,REMOTE}"
    exit 1
  }

  PRINT = 1
}

/^<{7}( .+)?$/ {
  PRINT = (TARGET == "LOCAL")
  next
}

/^\|{7}( .+)?$/ {
  PRINT = (TARGET == "BASE")
  next
}

/^={7}( .+)?$/ {
  PRINT = (TARGET == "REMOTE")
  next
}

/^>{7}( .+)?$/ {
  PRINT = 1
  next
}

PRINT { print }

[Dauer der Verarbeitung: 0.14 Sekunden, vorverarbeitet 2026-10-20]

                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,027
#Domains=861,263