Hi,
I have a plain ascii text file sorted alphabetically.
e.g.
AA for apple
A for apple
BB for ball
B for ball
C for ....
i need to insert :A: before the first line that starts with A, similarly :B:, :C: ...till :Z:. Only at the first occurance of A, B and so on.
i.e. my out put should be like
:A:
AA for apple
A for apple
:B:
BB for ball
B for ball
:C:
C for ....
:E:...
:Z:...
Z for Zebra
Please help me
janitored by ybiC: Retitle from "Find", balanced<tt>'s around example text for legibility
In reply to Creating a text index for a text file by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |