S
Sree
Hi all,
I have a file in the below format.
## COMP1: MAIN: SUB1: OK
## COMP1: MAIN: SUB2: N/A
## COMP2: MAIN: SUB1: OK
and I have to print in the output file as below.
1. COMP1:
1.1 MAIN: SUB1: OK
1.2 MAIN: SUB2: N/A
2. COMP2
2.1 MAIN: SUB1: OK
I am learning perl,please help me out in this.
regards
Sree
I have a file in the below format.
## COMP1: MAIN: SUB1: OK
## COMP1: MAIN: SUB2: N/A
## COMP2: MAIN: SUB1: OK
and I have to print in the output file as below.
1. COMP1:
1.1 MAIN: SUB1: OK
1.2 MAIN: SUB2: N/A
2. COMP2
2.1 MAIN: SUB1: OK
I am learning perl,please help me out in this.
regards
Sree