ACTUAL LOG_FILE:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
xyz:5:90:34:89:22:07
abbc1:6:346:78:89:100:01
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
abbc1:6:346:78:89:100:01
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]]
where <logon> ::= <username>[/<password>][@<connect_identifier>]
<proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
xyz:5:90:34:89:22:07
abbc1:6:346:78:89:100:01
v-gz1:999:39:56:23:101:123
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
v-gz1:999:39:56:23:101:123
Required output:
xyz:5:90:34:89:22:07
abbc1:6:346:78:89:100:01
abbc1:6:346:78:89:100:01
xyz:5:90:34:89:22:07
abbc1:6:346:78:89:100:01
v-gz1:999:39:56:23:101:123
v-gz1:999:39:56:23:101:123
what i am looking , to process logfile based on coln (:)
sed '/^ :*$/d' logfile1 > logfile2(delete line with space before :)sed '/^: *$/d' logfile2 > logfile3(delete line with space after :)delete line with no
:
:”, but you show six blank lines in your output. So, do you want the process to show the blank lines in the input (which is not consistent with your example), or do you want to add a blank line after every line of output (or is it something else)?