Quote:
Originally Posted by briselec
I don't get what point you're trying to make but if you have a look at the FreeBSD manpage for strings it looks a lot like the strings-GNU version.
|
Aha, indeed it has improved somewhat:-
https://svnweb.freebsd.org/base/rele...chain/strings/
Quote:
Define "it works". I want to be able to tell it which character encoding to use for finding strings. I want it to give me offsets in hex. So for me it does not "work".
|
Defined as 'continues to work in the fashion in which it was originally intended'.
I would define your requirement as 'does not do what I want it to do / not fit for your purpose'.
Quote:
What?? I was talking about adding functionality to the bsdstrings version without breaking existing usage. I'm not sure what you thought I was proposing.
|
Ah I see what you mean. Since strings-GNU already has the options you want, to me you'd adjust that version to be BSD strings compatible rather than the other way around.
I thought that the better option would be to upgrade to the new BSD strings, but looking at the man page for the latest BSD strings, they already broke the compatibility with the -o operator I used as an example from the BSD strings in Slackware; in which case you may as well just ditch BSD strings (or at least rename it to strings-BSD) and switch to the GNU version which works in the same way as the new BSD version.
I'll point Patrick to this thread.