[Bug binutils/17113] New: Option to show whitespaces between textblocks

2014-07-04 Thread sworddragon2 at aol dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17113

Bug ID: 17113
   Summary: Option to show whitespaces between textblocks
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: sworddragon2 at aol dot com

For example if I'm searching my disk with the strings command all textfiles
will be shown without newlines because they are no printable characters. In
this case it would be useful (for example for recovery reasons) to have an
option that shows all non-printable text-chacacters only if they are between
printable characters.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/17114] New: Option to choose the range for the strings command

2014-07-04 Thread sworddragon2 at aol dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17114

Bug ID: 17114
   Summary: Option to choose the range for the strings command
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: sworddragon2 at aol dot com

The command strings has the option -t to show the position of the located
strings. Maybe there could also be an option to seek to an offset and
optionally to stop at another offset. For example this could be useful on
searching a disk and telling it should begin the search at 20 GiB and end at 30
GiB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/17113] Option to show whitespaces between textblocks

2014-07-05 Thread sworddragon2 at aol dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17113

--- Comment #2 from sworddragon2 at aol dot com ---
> That sounds a bit too complex.  For example, how many non-printable characters
> should be displayed ?

All whitespaces from the first printable character until the next printable
character but only if there is no binary character in the way (a character that
strings would not show).

The idea is that this option would normally show all whitespaces within text
files/occurences but no whitespaces within "binary garbage". This would show
whitespaces there they are likely to be wanted and suppress whitespaces there
they are normally not useful.


> The strings command has been recently enhanced however so that it will
> now display all whitespace characters, including new-lines, if the
> --include-all-whitespace option is used.  Perhaps this will help you ?

This sounds useful too and I will test it if this version is available on my
distribution. But what do you think of my idea?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils