A Small dos->UNIX convertor
Magnus L. Hetland
mlh at vier.idi.ntnu.no
Sat Oct 30 11:07:13 EDT 1999
philh at vision25.demon.co.uk (Phil Hunt) writes:
> I'm a "tr" man, myself.
>
Ah - brilliant... I can see the `tr -d '\r'` from dos to unix, (and
mac<->unix is of course trivial), but what about unix to dos? (I guess
you could use `sed 's/\n/\r\n/g'`...)
--
Magnus Echelon jamming noise:
Lie FBI CIA NSA Handgun Assault Bomb Drug Terrorism
Hetland Special Forces Delta Force AK47 Hillary Clinton
More information about the Python-list
mailing list