diff options
author | Erik Ackermann <kurterikackermann@gmail.com> | 2015-09-10 09:29:13 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-09-10 09:29:13 +0100 |
commit | 55edd97b4b2fb373e7895c449ff439efb6de1509 (patch) | |
tree | d8a4301add54a7923b043c059eb823749c0c0bf3 /binutils/doc | |
parent | 3f263e4b5a20fb8c1818306c845564b2aea0fe50 (diff) | |
download | gdb-55edd97b4b2fb373e7895c449ff439efb6de1509.zip gdb-55edd97b4b2fb373e7895c449ff439efb6de1509.tar.gz gdb-55edd97b4b2fb373e7895c449ff439efb6de1509.tar.bz2 |
Adds an option to the strings program to specify a separator between the emitted pieces of text.
* strings.c: Add -s/--output-separator option to specify custom
separator string.
* NEWS: Mention the new feature.
* doc/binutils.text (strings): Document the new command line
option.
Diffstat (limited to 'binutils/doc')
-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 8a2a652..d993664 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -2790,6 +2790,7 @@ strings [@option{-afovV}] [@option{-}@var{min-len}] [@option{-}] [@option{--all}] [@option{--print-file-name}] [@option{-T} @var{bfdname}] [@option{--target=}@var{bfdname}] [@option{-w}] [@option{--include-all-whitespace}] + [@option{-s}] [@option{--output-separator}@var{sep_string}] [@option{--help}] [@option{--version}] @var{file}@dots{} @c man end @end smallexample @@ -2894,6 +2895,13 @@ 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. + +@item -s +@itemx --output-separator +By default, output strings are delimited by a new-line. This option +allows you to supply any string to be used as the output record +separator. Useful with --include-all-whitespace where strings +may contain new-lines internally. @end table @c man end |