#!/usr/bin/perl # removenewlines use warnings; #use strict; $/ = undef; open IN, shift or die "Failed at opening given file: $!"; $InFile = ; $Output = $InFile; $Output =~ s/\n/things/g; print $Output . "\n"; #### "inkjet001","Inkjet Printer",4,"prodimages/inkjetprinter.gif","prodimages/linkjetprinter.gif",95,90,130,4,0,2.02,1,1,0,0,"",,0,0,0,"This inkjet printer really packs a punch for the home user. Full color prints at photo quality. Perfect for everything from letters to the bank manager, to printing out your favourite digital family pictures.","This inkjet printer really packs a punch for the home user. Full color prints at photo quality. Perfect for everything from letters to the bank manager, to printing out your favourite digital family pictures.
As well as a larger image, you can use this ""Long Description"" to add extra detail or information about your products." ##
## "inkjet001","Inkjet Printer",4,"prodimages/inkjetprinter.gif","prodimages/linkjetprinter.gif",95,90,130,4,0,2.02,1,1,0,0,"",,0,0,0,"This inkjet printer really packs a punch for the home user. Full color prints at photo quality. Perfect for everything from letters to the bank manager, to printing out your favourite digital family pictures.","This inkjet printer really packs a punch for the home user. Full color prints at photo quality. Perfect for everything from letters to the bank manager, to printing out your favourite digital family pictures.
As well as a larger image, you can use this ""Long Descthings ##
## "testproduct","Cheap Test Product",3,"prodimages/computercable.gif","prodimages/lcomputercable.gif",0.01,0.01,0,0,0,3,1,1,0,0,"",,0,0,0,"This is a cheap product for testing. Note how you can use HTML Markup in product descriptions.
Also note that as you change the product options, the price changes automatically.","This is a cheap product for testing. Note how you can use HTML Markup in product descriptions.
In the long description you can go into more detail about products." ##
## "testproduct","Cheap Test Product",3,"prodimages/computercable.gif","prodimages/lcomputercable.gif",0.01,0.01,0,0,0,3,1,1,0,0,"",,0,0,0,"This is a cheap product for testing. Note how you can use HTML Markup in product descriptions.
Also note that as you change the product options, the price changes automatically.","This is a cheap product for testing. Note how you can use HTML