[Pythonmac-SIG] The Official MacPython LineEnding Converter Competition

Jack Jansen jack@oratrix.nl
Fri, 06 Jul 2001 10:44:33 +0200


> What are people using to batch convert folders full of text files that =
may
> have DOS or UNIX line endings to Mac line endings?

This question is asked *so* often, that I hereby declare started

   The Official MacPython LineEnding Converter Competition

The winning applet will be included prominently in the next MacPython =

distribution, with the author's name featuring in the "thanks" list. The =

author will also receive 1 (one) free copy of MacPython, in addition to =

eternal fame.

Entries should at least
- have a decent UI. This means either an applet with a nice icon, or a pl=
ugin =

for IDE.
- allow folders to be dropped on them (or be selected, if an IDE plugin),=
 =

recursively converting files
- give a report of what they did (which files they converted) and optiona=
lly =

run in "dry run" mode where they only show what they would like to do
- be safe, i.e. not remove the original before the new copy is safely on =
disk, =

not mistreat non-text files, etc.
- come with source. *Readable* source. Extra points if the source is so =

readable that the script can go straight into the "examples" section.

There's of course lots of nifty things that can gain you extra points, su=
ch as =

an option to do only .py files or all text files, an option to set the =

creator/type for .py files, an option to convert back to unix/dos endings=
, etc.

Entries should be sent to the list, and the whole list will judge which s=
cript =

wins. If there's a tie the list maintainer (indeed, me:-) gets the tiebre=
aking =

vote.

Entries should be in by August 1.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++=

Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig =
++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.=
htm =