I'm working on a basic perl script that needs to print (to a file) a variable all on one line. The variable is initially read in from a file where it may contain one or mare carriage returns or "\n"s.
There are a lot of really nice scripting languages available to Unix admins, but Perl is still one of my favorites for doing any work that involves regular expressions — any text that you can describe ...