java -classpath javatest.jar com.sun.javatest.EditLinks
options file...
-e
oldPrefix newPrefix
-e
options
may be given; when editing a file, the options are checked in the order
they are given.
For example, if the argument
-e /work/ /java/jck-dev/scratch/12Jun00/jck-lab3/is used on a file that contains the following segment:
<a href="/work/api/java_lang/results.jtr">/work/api/java_lang/results.jtr</a>the text shown bold below will match:
<a href="/work/api/java_lang/results.jtr">/work/api/java_lang/results.jtr</a>and the resulting new file will contain the following:
<a href="/java/jck-dev/scratch/12Jun00/jck-lab3/api/java_lang/results.jtr">/work/api/java_lang/results.jtr</a>
-ignore
file
-ignore
may be given.
For example, '-ignore SCCS
' will cause any directories named SCCS
to be ignored.
-o
file
0 | the copy was successful |
1 | there was a problem with the command line arguments |
2 | an error occurred while trying to perform the copy |