Ramprasad A Padmanabhan wrote:
On Wed, 2004-09-29 at 18:55, PerlDiscuss - Perl Newsgroups and mailing
lists wrote:

I have a file with the following format

Object1
"Description1"

Object2
"Description"

Object3
"Description"

I would like the output in the following format
object1<...tab....>Description1
object2<...tab....>Description2
object3<...tab....>Description3

perl -lne 'BEGIN{$/="\n\n";}s/\n/\t/;print' FILENAME


perl -l -00pe's/\n/\t/' FILENAME



John
--
use Perl;
program
fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to