hello,

i have a file which is having on each line of this format:

loginname:name (roll no.)

no i want to extract loginname from it and it can be done by setting field
separator as ":" then i can use cut -f 1, but the problem is that i don't
know how to set field separator;

Please help


Thanx
KONARK

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
                             ______
         KONARK GUPTA     .-"      "-.   IInd Year
         H-7, #277       /            \  B. Tech.
         I.I.T BOMBAY   |              | Chemical Engg. Deptt.
         MUMBAI - 400076|,  .-.  .-.  ,| [EMAIL PROTECTED]    
         RING @ 5721049 | )(__/  \__)( | www.geocities.com/guptakonark    
                        |/     /\     \|     
              (@_       (_     ^^     _)     
         _     ) \_______\__|IIIIII|__/__________________________
        (_)@8@8{}<________|-\IIIIII/-|___________________________>
               )_/        \          /     
              (@           `--------'  
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

Reply via email to