Shell ******

ciroredz
edited June 2007 in General talk

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

Comments

  • alexcrist
    alexcrist
    edited June 2007

    Hi ciroredz,


    You opened another topic like this (http://forum.bitdefender.com/index.php?showtopic=1016).


    The problem is that I really can't find any relation between your questions and BitDefender/IT Security. I think what you need is a programming Forum. This is an IT Security Forum (mainly BitDefender related).


    If your questions are security-related, please be more precise about what you need to know. Otherwise, stop posting questions like these because they will be considered as SPAM and they will be deleted.


    Cris.