https://sourceware.org/bugzilla/show_bug.cgi?id=28632
Bug ID: 28632 Summary: 'strings --help' talks about zero-terminated strings Product: binutils Version: 2.37 Status: UNCONFIRMED Severity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: g.brandl at gmx dot net Target Milestone: --- The --help output of strings (version 2.37) says: -n --bytes=[number] Locate & print any NUL-terminated sequence of at -<number> least [number] characters (default 4). However, the info-page states correctly: For each FILE given, GNU 'strings' prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are followed by an unprintable character. (and later) '-MIN-LEN' '-n MIN-LEN' '--bytes=MIN-LEN' Print sequences of characters that are at least MIN-LEN characters long, instead of the default 4. which does not imply NUL termination, and I also don't see NUL termination being a requirement for 'strings' recognizing strings. PS: in the comment at the top of strings.c, even another version can be found: --bytes=min-len -n min-len -min-len Print graphic char sequences, MIN-LEN or more bytes long, that are followed by a NUL or a newline. Default is 4. -- You are receiving this mail because: You are on the CC list for the bug.