All,
I need help adding newline using awk and this is what I have for the input file:
DN: user1,ou=testing,o=abc
Changetype: modify
l: loca
DN: user2,ou=testing,o=abc
Changetype: modify
l" locb
I ran this command and it did not work.
awk '{print}/^Changetype:/{print "Delete: l"' /path/to/input > output
Please advice,
SP