Modifile 1.0.4 reviewDownload
Modifile application applies Perl substitution expressions to files, modifying the name and/or the contents of the file and making ba
Modifile application applies Perl substitution expressions to files, modifying the name and/or the contents of the file and making backup versions of the original file as needed.
Modifile project also checks for write permissions before applying any changes, and provides a list of the files that would have been changed, yet did not have write permission.
Backup the changed files. The default is --backup.
Change the base names of the files, that is, foo.txt of the full name /home/jrandom/proj/bar/foo.txt. The default is --basenames. See also the
Process files interactively, getting user confirmation when the substitutions would result in a change.
Change the contents of the files. The default is --contents.
Stop substitutions after count lines have been modified.
Change the directory names of the files, that is, /home/jrandom/proj/bar of the full name /home/jrandom/proj/bar/foo.txt. The default is --dirnames. See also the
Whether to change the file names and contents. The default is --execute.
Read the given file, which contains a list of all expressions to be evaluated, in the format:
# make fooBar into FOO_BAR:
Both spaces and script-style comments (i.e., beginning with '#') are allowed in the substitution file.
If the --file option is not used, the substitution expression will be assumed to be the next command-line argument after all options have been processed.
Run with minimal output.
If a file is read-only, execute the given command on the file. For example:
--readonly "chmod u+w"
--readonly "p4 edit" (set status to editable in the Perforce CM system)
Run with debugging output.
What's New in This Release:
Fixes an issue in applying substitution only once per file.
Modifile 1.0.4 keywords