I'm working on a perl script for generating a website (non- cgi friendly server)
that'll be handed off to my successors. As such I'm trying my best to make it
idiot-proof and as platform independant as possible.

As part of that I want to include a short script (or something on the
commandline) to convert LF/CR to the appropriate type for Mac/Dos/Unix for all
the necessary files. I know how to do this, But I'm wondering if there's some
way I can reduce the script to essentially one line. Afterall, what good is a
converter to make sure the scripts run right if you can't run it?

As I recall there's a switch or some such that you can do on the commandline
either when you run the main script or as the conversion script, but I don't
recall how to do this. Any ideas?

~wren

Reply via email to