Splitting and printing on a single line
- From: ecilop00@xxxxxxxxx (bob)
- Date: Wed, 4 Jan 2012 13:41:59 -0800 (PST)
Hello
I am very new to perl and I need some guidance on the following issue
My data set is like this
---------------------------
Record 38
Richard Nixon
http://en.wikipedia.org/wiki/Richard_Nixon
---------------------------
Record 39
Gerald Ford
http://en.wikipedia.org/wiki/Gerald_Ford
---------------------------
Record 40
Jimmy Carter
http://en.wikipedia.org/wiki/Jimmy_Carter
and I would like to print it out like
Record 38 \t Richard Nixon \t http://en.wikipedia.org/wiki/Richard_Nixon
Record 39 \t Gerald Ford \t http://en.wikipedia.org/wiki/Gerald_Ford
Record 40 \t Jimmy Carter \t http://en.wikipedia.org/wiki/Jimmy_Carter
Thank you
.
- Follow-Ups:
- Re: Splitting and printing on a single line
- From: "John W. Krahn"
- Re: Splitting and printing on a single line
- Prev by Date: Re: perl equivelent of which in bash
- Next by Date: Re: perl equivelent of which in bash
- Previous by thread: perl equivelent of which in bash
- Next by thread: Re: Splitting and printing on a single line
- Index(es):