develooper Front page | perl.beginners | Postings from January 2002

RE: change the format of file.

Thread Previous | Thread Next
From:
Booher Timothy B 1stLt AFRL/MNAC
Date:
January 30, 2002 13:58
Subject:
RE: change the format of file.
Message ID:
30C9E24891FFD411B68A009027724CB70207CB66@eg-002-015.eglin.af.mil
Cool. I think I have an idea - what is your question?

tim

-----Original Message-----
From: Anand, Pankaj [mailto:Pankaj.Anand@bestbuy.com]
Sent: Wednesday, January 30, 2002 2:18 PM
To: 'Beginners (E-mail)
Subject: change the format of file.

Hi ,
I want to make a perl script which can take the input from a file which is
in this form -
name1  
name2  

I want to change it to this format -
definition1     name1
definition2    
definition3
definition4:name1

definition1     name2
definition2    
definition3
definition4:name1

and so on

Thanx


952)324-0422



--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About