.\"O .TH XZDEC 1 "2017-04-19" "Tukaani" "XZ Utils" .TH XZDEC 1 2017\-04\-19 Tukaani "XZ Utils" .\"O ---------------------------------------- .\"O .SH NAME .\"O xzdec, lzmadec \- Small .xz and .lzma decompressors .SH 名前 xzdec, lzmadec \- .xz および .lzma の伸長を行う簡易版です。 .\"O ---------------------------------------- .\"O .SH SYNOPSIS .\"O .B xzdec .\"O .RI [ option... ] .\"O .RI [ file... ] .\"O .br .\"O .B lzmadec .\"O .RI [ option... ] .\"O .RI [ file... ] .SH 書式 \fBxzdec\fP [\fIoption...\fP] [\fIfile...\fP] .br \fBlzmadec\fP [\fIoption...\fP] [\fIfile...\fP] .\"O ---------------------------------------- .\"O .SH DESCRIPTION .\"O .B xzdec .\"O is a liblzma-based decompression-only tool for .\"O .B .xz .\"O (and only .\"O .BR .xz ) .\"O files. .\"O .B xzdec .\"O is intended to work as a drop-in replacement for .\"O .BR xz (1) .\"O in the most common situations where a script .\"O has been written to use .\"O .B "xz \-\-decompress \-\-stdout" .\"O (and possibly a few other commonly used options) to decompress .\"O .B .xz .\"O files. .\"O .B lzmadec .\"O is identical to .\"O .B xzdec .\"O except that .\"O .B lzmadec .\"O supports .\"O .B .lzma .\"O files instead of .\"O .B .xz .\"O files. .SH 説明 \fBxzdec\fP は \fB.xz\fP に対しての (そして \fB.xz\fP のみの) 伸長処理を行うだけの liblzma ベースのツールです。\fBxzdec\fP は \fBxz\fP(1) のドロップインとしての置き換えが意識されています。つまり \fBxz \-\-decompress \-\-stdout\fP という形で (そしておそらくはよく使われる他のオプションをともなって) \fB.xz\fP ファイルの伸長を行うスクリプト内において利用するといった場面です。\fBlzmadec\fP は \fBxzdec\fP と同等であり、ただしサポートするファイルが \&\fB.xz\fP ではなく \fB.lzma\fP になります。 .\"O ---------------------------------------- .\"O .PP .\"O To reduce the size of the executable, .\"O .B xzdec .\"O doesn't support multithreading or localization, .\"O and doesn't read options from .\"O .B XZ_DEFAULTS .\"O and .\"O .B XZ_OPT .\"O environment variables. .\"O .B xzdec .\"O doesn't support displaying intermediate progress information: sending .\"O .B SIGINFO .\"O to .\"O .B xzdec .\"O does nothing, but sending .\"O .B SIGUSR1 .\"O terminates the process instead of displaying progress information. .PP 実行モジュールサイズを小さく抑えていることから、\fBxzdec\fP はマルチスレッドやローカライゼーションをサポートしていません。また環境変数 \fBXZ_DEFAULTS\fP や \fBXZ_OPT\fP からのオプション読み込みも行いません。\fBxzdec\fP は処理途中の進行情報は表示しません。つまり \fBxzdec\fP に対して \fBSIGINFO\fP を送信しても何も起きません。ただし \fBSIGUSR1\fP を送信すると、進行情報が表示されるわけではなく、プロセスが停止します。 .\"O ---------------------------------------- .\"O .SH OPTIONS .SH オプション .\"O ---------------------------------------- .\"O .TP .\"O .BR \-d ", " \-\-decompress ", " \-\-uncompress .\"O Ignored for .\"O .BR xz (1) .\"O compatibility. .\"O .B xzdec .\"O supports only decompression. .TP \fB\-d\fP, \fB\-\-decompress\fP, \fB\-\-uncompress\fP \fBxz\fP(1) との互換性のために無視されます。\fBxzdec\fP では伸長処理のみがサポートされています。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-k ", " \-\-keep .\"O Ignored for .\"O .BR xz (1) .\"O compatibility. .\"O .B xzdec .\"O never creates or removes any files. .TP \fB\-k\fP, \fB\-\-keep\fP \fBxz\fP(1) との互換性のために無視されます。\fBxzdec\fP ではファイルの生成削除は行いません。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-c ", " \-\-stdout ", " \-\-to-stdout .\"O Ignored for .\"O .BR xz (1) .\"O compatibility. .\"O .B xzdec .\"O always writes the decompressed data to standard output. .TP \fB\-c\fP, \fB\-\-stdout\fP, \fB\-\-to\-stdout\fP \fBxz\fP(1) との互換性のために無視されます。\fBxzdec\fP では伸長したデータを常に標準出力します。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-q ", " \-\-quiet .\"O Specifying this once does nothing since .\"O .B xzdec .\"O never displays any warnings or notices. .\"O Specify this twice to suppress errors. .TP \fB\-q\fP, \fB\-\-quiet\fP \fBxzdec\fP からの警告や通知の表示を行いません。一度これを指定した後は、何も表示されなくなります。二度指定すると、エラー表示が行われなくなります。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-Q ", " \-\-no-warn .\"O Ignored for .\"O .BR xz (1) .\"O compatibility. .\"O .B xzdec .\"O never uses the exit status 2. .TP \fB\-Q\fP, \fB\-\-no\-warn\fP \fBxz\fP(1) との互換性のために無視されます。\fBxzdec\fP では終了コード 2 は用いません。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-h ", " \-\-help .\"O Display a help message and exit successfully. .TP \fB\-h\fP, \fB\-\-help\fP ヘルプメッセージを表示して正常終了します。 .\"O ---------------------------------------- .\"O .TP .\"O .BR \-V ", " \-\-version .\"O Display the version number of .\"O .B xzdec .\"O and liblzma. .TP \fB\-V\fP, \fB\-\-version\fP \fBxzdec\fP と liblzma のバージョン番号を表示します。 .\"O ---------------------------------------- .\"O .SH "EXIT STATUS" .SH 終了ステータス .\"O ---------------------------------------- .\"O .TP .\"O .B 0 .\"O All was good. .TP \fB0\fP 処理正常。 .\"O ---------------------------------------- .\"O .TP .\"O .B 1 .\"O An error occurred. .TP \fB1\fP エラー発生。 .\"O ---------------------------------------- .\"O .PP .\"O .B xzdec .\"O doesn't have any warning messages like .\"O .BR xz (1) .\"O has, thus the exit status 2 is not used by .\"O .BR xzdec . .PP \fBxzdec\fP には \fBxz\fP(1) にあるような警告メッセージはありません。したがって終了ステータス 2 は \fBxzdec\fP では利用されません。 .\"O ---------------------------------------- .\"O .SH NOTES .\"O Use .\"O .BR xz (1) .\"O instead of .\"O .B xzdec .\"O or .\"O .B lzmadec .\"O for normal everyday use. .\"O .B xzdec .\"O or .\"O .B lzmadec .\"O are meant only for situations where it is important to have .\"O a smaller decompressor than the full-featured .\"O .BR xz (1). .SH 情報 普段利用するには \fBxzdec\fP や \fBlzmadec\fP ではなく \fBxz\fP(1) としてください。\fBxzdec\fP や \fBlzmadec\fP は、\fBxz\fP(1) の機能をフル活用するような場面ではなく、よりコンパクトに伸長処理だけが必要となる場面での利用が想定されています。 .\"O ---------------------------------------- .\"O .PP .\"O .B xzdec .\"O and .\"O .B lzmadec .\"O are not really that small. .\"O The size can be reduced further by dropping .\"O features from liblzma at compile time, .\"O but that shouldn't usually be done for executables distributed .\"O in typical non-embedded operating system distributions. .\"O If you need a truly small .\"O .B .xz .\"O decompressor, consider using XZ Embedded. .PP \fBxzdec\fP と \fBlzmadec\fP は、そう言うほどにコンパクトではありません。コンパイル時に liblzma の機能を削れば、さらにサイズを小さくすることができます。ただしオペレーティングシステムが配布する、通常の非埋め込みタイプの実行モジュールにおいては、サイズ縮小を行うことは好ましくありません。本当にコンパクトな \&\fB.xz\fP 伸長処理が必要であれば、埋め込み XZ (XZ Embedded) の利用を検討してください。 .\"O ---------------------------------------- .\"O .SH "SEE ALSO" .\"O .BR xz (1) .SH 関連項目 \fBxz\fP(1) .\"O ---------------------------------------- .\"O .PP .\"O XZ Embedded: .PP 埋め込み XZ: .\"O ----------------------------------------