Shell ******
i ve got a file with probably 100 lines, with lots of occurrences. how do i search for the occurrences and display them numbered like: 1 bla la lalala 2 deruyty yturie 3 ertsy hfyeyyu P.s i do not want to get rid of them just want to output them in another file. Must be a way without using sed or awk isn it? Thanx