diff options
author | Erik Akermann <kurterikackermann@gmail.com> | 2014-06-26 14:10:48 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-06-26 14:10:48 +0100 |
commit | 334ac421efca80df2f95960d917ea9cb5823fb18 (patch) | |
tree | 5679a0e87e882c3e3b0e36aaff9a831b4769ca5b /binutils/doc/binutils.texi | |
parent | 6ddf779d8ed3d9411976716e2b617c2aa1b9c6c6 (diff) | |
download | gdb-334ac421efca80df2f95960d917ea9cb5823fb18.zip gdb-334ac421efca80df2f95960d917ea9cb5823fb18.tar.gz gdb-334ac421efca80df2f95960d917ea9cb5823fb18.tar.bz2 |
This adds the ability to the strings program to display strings that contain \n and \r characters.
* strings.c: Add -w/--include-all-whitespace option to include any
whitespace character in the displayed strings.
* NEWS: Mention the new feature.
* doc/binutils.texi (strings): Document the new command line
option.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r-- | binutils/doc/binutils.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 3375d36..b674b9d 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -2665,6 +2665,7 @@ strings [@option{-afovV}] [@option{-}@var{min-len}] [@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}] [@option{-}] [@option{--all}] [@option{--print-file-name}] [@option{-T} @var{bfdname}] [@option{--target=}@var{bfdname}] + [@option{-w}] [@option{--include-all-whitespace}] [@option{--help}] [@option{--version}] @var{file}@dots{} @c man end @end smallexample @@ -2736,6 +2737,13 @@ Specify an object code format other than your system's default format. @itemx -V @itemx --version Print the program version number on the standard output and exit. + +@item -w +@itemx --include-all-whitespace +By default tab and space characters are included in the strings that +are displayed, but other whitespace characters, such a newlines and +carriage returns, are not. The @option{-w} option changes this so +that all whitespace characters are considered to be part of a string. @end table @c man end |