|
| PDF 文書ファイルをダウンロードする (730 KB)
Chapter 15 util: Miscellaneous CLI CommandsThis chapter describes some miscellaneous commands that can be used to show the version of the Master Server application, formats an object, and perform Perl-type and XSLT transformations on a file. Overview of the util CommandsThe following table summarizes the CLI commands described in this chapter. Table 15–1 Summary of the util Commands
util.msvThis command shows the version of the Master Server application. Table 15–2 Arguments and Result for the util.msv Command
util.reformatThis command formats an object. The following list the command-specific output formats that are available to specific commands:
util.xfmThis command is used to transform a serialized object representation to a human-readable representation. Table 15–4 Arguments for the util.xfm Command
Example 15–1 Using the util.xfm CommandThis example performs a PERL transformation, which is described in the perl.xml file, on the text specified in the in.txt file. The result is written to standard output. You can use the -of argument to redirect the standard output to a file.
Since the class of the input stream is ReaderWrapper, you can specify any syntax supported by the String2ReaderWrapper converter to specify each stream's source. For example, to read input from standard input instead of from the in.txt file, use -in - instead of -in in.txt. |
|||||||||||||||||||||||||||||||||||||||||||||