SPUG: dos2apache_unix and unix2apache_dos
Michael R. Wolf
MichaelRWolf at att.net
Sat Jul 7 15:51:02 PDT 2007
Apache cares about the shebang line on Unix- and Windows-derived OS's.
I have to maintain classroom labs that can be run on either OS. I don't
want to maintain two variants whose only differences are line endings and
the perl path on the shebang line.
Anyone know of a program that does dos2unix and unix2dos while also
correcting the shebang lines? I've started writing it, but there are edge
cases with permissions, and incorrect line endings (because we have a
heterogeneous development environment with chaotic source control).
--
Michael R. Wolf
All mammals learn by playing!
MichaelRWolf at att.net
More information about the spug-list
mailing list