home *** CD-ROM | disk | FTP | other *** search
- Date: Wed, 3 Nov 1993 13:04:20 EST
- From: afzal@divsun.unige.ch (Afzal Ballim)
- To: MSDOS-Ann@SimTel.Coast.NET (MS-DOS upload announce)
- Subject: dosmap.prl - perl script:unix->dos hierarchy transformation
-
- pub/msdos/perl/
- dosmap.prl perl script:unix->dos hierarchy transformation
-
- This is a perl script to take a unix hierarchy structure, and transform it
- into a dos compliant one. This means that unix filenames will get changed
- to dos-compliant ones, AND that references in (uncompressed) files will
- also get changed to reflect those name changes. For example, makefiles and
- header files will automatically be updated. Obviously there is no magic
- way of knowing exactly when a string in a file is a filename as opposed to
- just some string, so there is the possibility for errors. However, I have
- found this utility very useful in converting complex program directory
- structures automatically.
-
- The "-i" flag allows for interactive name changing, i.e., the script
- prompts you with its suggestion, you hit <CR> to accept it, and anything
- else to replace it.
-
- In the case where two files map into the same name, the program reports an
- error and terminates. This is not optimal and I hope later to change this
- behaviour.
-
- I am not a perl programmer, so please forgive my abuse of that language.
- The utility may be freely distributed/changed.
-
- (Uploaded by the author, Afzal Ballim, <afzal@divsun.unige.ch>)
-