i ve got a file with 100 of text lines and many occurrences.
How can i search and display them all nummbered?
E,g:
1) bla bla bla
2) fortij nfhru
3)fhdgfhdiwe
P.s i do not want to get rid of them just output them and redirect them in another file.
There must be a way to do it without using sed or awk isn it?
Thnx