Scroll to navigation

strings(1) GNU Development Tools strings(1)

名前

strings - ファイル中の表示可能な文字列を表示する

書式

[-a|-|--all] [-f|--print-file-name] [-o] [--help] [-v|--version] [-n min-len|-min-len|--bytes=min-len] [-t {o,x,d}[--target=bfdname] |--radix={o,x,d}] file

説明

GNU strings は、与えられたそれぞれの file から表示可能なキャラクタの列を表示する。デフォルトでは 4 文字以上の長 さのものを、可能な限り表示するが、この長さは以下で説明するオプションに よって変更可能である。ファイルがオブジェクトファイルの場合のデフォルト では、初期化・ロードされたセクションからの文字だけを表示する。他のファ イルについては、ファイル全体から文字列を探し、表示する。

strings は主としてテキストファイル以外のファイル内容を判断するために用いられる。

オプション

長いフォーマットと短いフォーマットが並べて書いてある場合は、それらは等 価である。

-
オブジェクトファイルから初期化・ロードされたセクションのみをスキャンす るのではなく、ファイル全体をスキャンする。

それぞれの文字列の前にファイル名を表示する。

strings のオプションの要約を標準出力に表示して終了する。

strings のバージョン番号を標準出力に表示して終了する。

min-len 以上の長さを持つ文字のシーケンスを表示する。デフォルトは 4。

それぞれの文字列の前にファイル中のオフセットを表示する。引数として与え られる一文字で、オフセットの基数を (8, 16, 10) 進数で与えるように指定 する。

オブジェクトコードのフォーマットを、システムのデフォルト以外のものに指 定する。指定できるフォーマットをリストするための方法については objdump(1) を見よ。

-t o と同じ。

関連項目

info の ` binutils ' エントリ、 The GNU Binary Utilities, Roland H. Pesch (October 1991)、 ar(1)、 nm(1)、 objdump(1)、 ranlib(1)

著作権

Copyright (c) 1993 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.

25 June 1993 cygnus support