ancadmihai
Technical User
hi all
please give me a hand in solving the following problem
i have a file that contains the following lines
40765300012 226030100315050 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300023 226030100315061 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300031 226030100315069 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300039 226030100315077 CONNECTED AVAILABLE
each msisdn(4076******) may have a OICK & SCHAR or a SCHAR. each of this info is printed in diferent lines
i need a script that has as an output lines that look like this
4076****** oick=** (if it exists) SCHAR-*-0(where * may be 8 or 4)
please give me a hand. i've managed to give myself a head acke with this.
thank's a lot in advance.
please give me a hand in solving the following problem
i have a file that contains the following lines
40765300012 226030100315050 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300023 226030100315061 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300031 226030100315069 CONNECTED AVAILABLE
OCSI-1 OFA-20 PWD-0000 OICK-20
SCHAR-4-0
40765300039 226030100315077 CONNECTED AVAILABLE
each msisdn(4076******) may have a OICK & SCHAR or a SCHAR. each of this info is printed in diferent lines
i need a script that has as an output lines that look like this
4076****** oick=** (if it exists) SCHAR-*-0(where * may be 8 or 4)
please give me a hand. i've managed to give myself a head acke with this.
thank's a lot in advance.