Pinocchino
24-03-2010, 21:23
Hi Leute,
ich habe eine Konfigurationsdatei die ungefähr so aussieht:
BLOCK_A = Inhalt.1 Inhalt-2
Inhalt.3
Inhalt-4 Inhalt-5
;
BLOCK_B = Inhalt.1 Inhalt-2
Inhalt.3
Inhalt-4 Inhalt-5
;
BLOCK_C =
Inhalt.1 Inhalt-2
Inhalt.3;
BLOCK_D
= Inhalt.1 Inhalt.2
Inhalt-3
;
Es gibt noch mehr Inhalt, aber der ist egal. Alles was dem nicht Entspricht soll also ignoriert werden.
Es soll dann aber so aussehen:
BLOCK_A =
Inhalt.1
Inhalt-2
Inhalt.3
Inhalt-4
Inhalt-5
;
BLOCK_B =
Inhalt.1
Inhalt-2
Inhalt.3
Inhalt-4
Inhalt-5
;
BLOCK_C =
Inhalt.1
Inhalt-2
Inhalt.3
;
BLOCK_D =
Inhalt.1
Inhalt.2
Inhalt-3
;
Ich spiel schon eine ganze Zeit mit sed rum, aber ich komme einfach nciht
weiter. Irgend jemand eine Idee?
ich habe eine Konfigurationsdatei die ungefähr so aussieht:
BLOCK_A = Inhalt.1 Inhalt-2
Inhalt.3
Inhalt-4 Inhalt-5
;
BLOCK_B = Inhalt.1 Inhalt-2
Inhalt.3
Inhalt-4 Inhalt-5
;
BLOCK_C =
Inhalt.1 Inhalt-2
Inhalt.3;
BLOCK_D
= Inhalt.1 Inhalt.2
Inhalt-3
;
Es gibt noch mehr Inhalt, aber der ist egal. Alles was dem nicht Entspricht soll also ignoriert werden.
Es soll dann aber so aussehen:
BLOCK_A =
Inhalt.1
Inhalt-2
Inhalt.3
Inhalt-4
Inhalt-5
;
BLOCK_B =
Inhalt.1
Inhalt-2
Inhalt.3
Inhalt-4
Inhalt-5
;
BLOCK_C =
Inhalt.1
Inhalt-2
Inhalt.3
;
BLOCK_D =
Inhalt.1
Inhalt.2
Inhalt-3
;
Ich spiel schon eine ganze Zeit mit sed rum, aber ich komme einfach nciht
weiter. Irgend jemand eine Idee?