Hello Jeremy,
OpenWrite[..] has the option DOSTextFormat :> True or False. I do not
know if Export accepts DOSTextFormat directly. In any case, you can
read the file generated with Export and rewrite it with OpenWrite[..,
DOSTextFormat :>False].
Regards,
Hannes
On 28 Okt., 10:04, Jeremy B Maddox <maddo... at gmail.com> wrote:
> Often times I am using Mathematica (running on windows desktop) to
> generate a large number of input files for batch jobs on a linux based
> cluster.
>
> Is there a way to get Export to automatically remove those pesky end-
> of-line carriage returns?
> I have been using dos2unix command...does Mathematica have an on-board
> solution for this issue?
>
> Thanks
>
> Jeremy