bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: wide character extension for strings in binutils-2.11.2


From: Markus Kuhn
Subject: Re: PATCH: wide character extension for strings in binutils-2.11.2
Date: Wed, 04 Jul 2001 20:47:36 +0100

Philip Blundell wrote on 2001-07-04 19:22 UTC:
> Would you mind submitting a patch to add documentation in 
> Texinfo format as well?  (The patch to the manpage will still be useful for 
> the binutils-2.11 branch.)

Here it is.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>


--- binutils.texi       2001-07-04 20:40:48+01  1.1
+++ binutils.texi       2001-07-04 20:34:10+01
@@ -1689,9 +1689,10 @@
 @cindex strings, printing
 
 @smallexample
-strings [-afov] address@hidden [-n @var{min-len}] [-t @var{radix}] [-]
-        [--all] [--print-file-name] address@hidden
-        address@hidden address@hidden
+strings [-afov] address@hidden [-n @var{min-len}] [-t @var{radix}]
+        [-e @var{encoding}] [-] [--all] [--print-file-name]
+        address@hidden address@hidden
+        [--encoding @var{encoding}] address@hidden
         [--help] [--version] @address@hidden
 @end smallexample
 
@@ -1735,6 +1736,15 @@
 Print the offset within the file before each string.  The single
 character argument specifies the radix of the address@hidden for
 octal, @samp{x} for hexadecimal, or @samp{d} for decimal.
+
address@hidden -e @var{encoding}
address@hidden address@hidden
+Select the character encoding of the strings that are to be found.
+Possible values for @var{encoding} are: @samp{s} = single-byte
+characters (ASCII, ISO 8859, etc., default), @samp{b} = 16-bit
+Bigendian, @samp{l} = 16-bit Littleendian, @samp{B} = 32-bit Bigendian,
address@hidden = 32-bit Littleendian. Useful for finding wide character
+strings.
 
 @item address@hidden
 @cindex object code format




reply via email to

[Prev in Thread] Current Thread [Next in Thread]