I have the foll input file:
=============
1 TRUMAN
- CLINTON
0 GEORGE
===========EOF
For every 1st char, I have to do the following:
if 1st char is - leave 1 line before.
if 1st char is 0 leave 2 line before.
This is the expected output.
=============
1 TRUMAN
CLINTON
GEORGE
===========EOF
TIA,
KAT
=============
1 TRUMAN
- CLINTON
0 GEORGE
===========EOF
For every 1st char, I have to do the following:
if 1st char is - leave 1 line before.
if 1st char is 0 leave 2 line before.
This is the expected output.
=============
1 TRUMAN
CLINTON
GEORGE
===========EOF
TIA,
KAT