Large number of text files have Windows EOLs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Large number of text files have Windows EOLs

Post by mi »

There about 170 text files in the 6.3.5 source release, which have the redundant \r in front of the \n at the EOL -- Windows style.

Could these, please, be changed to the Unix-style to make the sources consistent and easier to manipulate?

It should be a trivial one-line replacement in perl or something... Thanks!

The offenders are in PerlMagick/ and www/ subdirectories:

PerlMagick/filter.t
PerlMagick/hpgl/read.t
PerlMagick/mpeg/read.t
PerlMagick/png/write-16.t
PerlMagick/png/read-16.t
PerlMagick/png/write.t
PerlMagick/png/read.t
PerlMagick/rad/write.t
PerlMagick/rad/read.t
PerlMagick/montage.t
PerlMagick/ps/write.t
PerlMagick/ps/read.t
PerlMagick/cgm/read.t
PerlMagick/wmf/read.t
PerlMagick/t/filter.t
PerlMagick/t/hpgl/read.t
PerlMagick/t/mpeg/read.t
PerlMagick/t/png/write-16.t
PerlMagick/t/png/read-16.t
PerlMagick/t/png/write.t
PerlMagick/t/png/read.t
PerlMagick/t/rad/write.t
PerlMagick/t/rad/read.t
PerlMagick/t/montage.t
PerlMagick/t/ps/write.t
PerlMagick/t/ps/read.t
PerlMagick/t/cgm/read.t
PerlMagick/t/wmf/read.t
PerlMagick/t/fpx/write.t
PerlMagick/t/fpx/read.t
PerlMagick/t/jng/write.t
PerlMagick/t/jng/read.t
PerlMagick/t/xfig/read.t
PerlMagick/t/jp2/read.t
PerlMagick/t/x/congrats.fig
PerlMagick/t/x/write.t
PerlMagick/t/x/read.t
PerlMagick/t/jpeg/write.t
PerlMagick/t/jpeg/read.t
PerlMagick/t/setattribute.t
PerlMagick/t/write.t
PerlMagick/t/getattribute.t
PerlMagick/t/blob.t
PerlMagick/t/hdf/write.t
PerlMagick/t/hdf/read.t
PerlMagick/t/bzlib/write.t
PerlMagick/t/bzlib/read.t
PerlMagick/t/jbig/write.t
PerlMagick/t/jbig/read.t
PerlMagick/t/zlib/write.t
PerlMagick/t/zlib/read.t
PerlMagick/t/read.t
PerlMagick/fpx/write.t
PerlMagick/fpx/read.t
PerlMagick/jng/write.t
PerlMagick/jng/read.t
PerlMagick/xfig/read.t
PerlMagick/jp2/read.t
PerlMagick/x/write.t
PerlMagick/x/read.t
PerlMagick/jpeg/write.t
PerlMagick/jpeg/read.t
PerlMagick/setattribute.t
PerlMagick/write.t
PerlMagick/blob.t
PerlMagick/getattribute.t
PerlMagick/hdf/write.t
PerlMagick/hdf/read.t
PerlMagick/bzlib/write.t
PerlMagick/bzlib/read.t
PerlMagick/jbig/write.t
PerlMagick/jbig/read.t
PerlMagick/zlib/write.t
PerlMagick/zlib/read.t
PerlMagick/read.t
www/search.html
www/stream.html
www/ImageMagickObject.html
www/sponsors.html
www/mogrify.html
www/sitemap.html
www/conjure.html
www/architecture.html
www/examples.html
www/subversion.html
www/display.html
www/miff.html
www/high-dynamic-range.html
www/mirrors.html
www/license.html
www/history.html
www/identify.html
www/resources.html
www/install-source.html
www/color.html
www/links.html
www/download.html
www/quantize.html
www/advanced-windows-installation.html
www/api.html
www/convert.html
www/advanced-unix-installation.html
www/motion-picture.html
www/composite.html
www/changelog.html
www/mailing-list.html
www/t-shirt.html
www/perl-magick.html
www/magick-vector-graphics.html
www/montage.html
www/compare.html
www/index.html
www/magick-core.html
www/binary-releases.html
www/magick-wand.html
www/animate.html
www/api/stream.html
www/api/blob.html
www/api/property.html
www/api/exception.html
www/api/constitute.html
www/api/decorate.html
www/api/drawing-wand.html
www/api/cache.html
www/api/resize.html
www/api/display.html
www/api/shear.html
www/api/annotate.html
www/api/memory.html
www/api/magick.html
www/api/enhance.html
www/api/transform.html
www/api/magick-property.html
www/api/effect.html
www/api/color.html
www/api/cache-view.html
www/api/quantize.html
www/api/colorspace.html
www/api/module.html
www/api/signature.html
www/api/list.html
www/api/registry.html
www/api/pixel-iterator.html
www/api/composite.html
www/api/draw.html
www/api/magick-image.html
www/api/deprecate.html
www/api/segment.html
www/api/pixel-wand.html
www/api/montage.html
www/api/profile.html
www/api/compare.html
www/api/monitor.html
www/api/paint.html
www/api/magick-wand.html
www/api/layer.html
www/api/animate.html
www/api/version.html
www/api/fx.html
www/api/image.html
www/api/magick-deprecate.html
www/api/resource.html
www/import.html
www/command-line-tools.html
www/fx.html
www/formats.html
www/command-line-processing.html
www/command-line-options.html
www/contact.html
index.html
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Large number of text files have Windows EOLs

Post by magick »

Thanks. We will fix the source files sometime today or tomorrow.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Re: Large number of text files have Windows EOLs

Post by mi »

magick wrote:Thanks. We will fix the source files sometime today or tomorrow.
FWIW, these files all still have Ctrl-M characters at EOLs in 6.3.6-7.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Large number of text files have Windows EOLs

Post by magick »

Patch for this problem in ImageMagick 6.3.6-8 available sometime tomorrow.
Post Reply