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
That's pretty slick you guys, he's sure to get an A+ ;)
If your teacher requires the quotes to be removed:
perl -l -00pe's/\n/\t/;s/\"//g;' FILENAME
:)
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
