|
Posted by Colin B. on April 8, 2008, 4:48 pm
Please log in for more thread options
> My users are will be uploading a file from unix. I'm trying to save a
> step by formatting the file while in unix so they don't have to format
> it with
>
> "perl -p -e 's/\r/\r\n/' < $infile > $dosfile"
>
> The resulting file after copied to windows did not have a readable
> format. Is this a process that can only be done after the file
> transfer?
Unless I'm missing something, you should just be able to do:
$unix2dos $infile > $outfile
Colin
|