Thx, but I’m still puzzled:
Code:
$ cat file
ADMU0508I: The Application Server "Portal" is STARTED
ADMU0508I: The Web server "HTTPServer" is STOPPED
ADMU0508I: The Node Agent "nodeagent" is STARTED
ADMU0508I: The Application Server "Server2" is
STARTED
ADMU0508I: The Application Server "Server3" is STOPPED
$ awk 'ORS=/ED$/?"\n":" \0"' file | cat -A
ADMU0508I: The Application Server "Portal" is STARTED$
ADMU0508I: The Web server "HTTPServer" is STOPPED$
ADMU0508I: The Node Agent "nodeagent" is STARTED$
ADMU0508I: The Application Server "Server2" is ^@STARTED$
ADMU0508I: The Application Server "Server3" is STOPPED$
$ awk 'ORS=/ED$/?"\n":" "' file | cat -A
ADMU0508I: The Application Server "Portal" is STARTED$
ADMU0508I: The Web server "HTTPServer" is STOPPED$
ADMU0508I: The Node Agent "nodeagent" is STARTED$
ADMU0508I: The Application Server "Server2" is STARTED$
ADMU0508I: The Application Server "Server3" is STOPPED$
There is a ^@ for me in the output. What should the \0 do?