maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Strings App (https://talk.maemo.org/showthread.php?t=99108)

n950 2017-03-13 07:41

Strings App
 
Hello,

I want to run Strings command in my terminal on my N9.

I don't want to install this package to have strings.

binutils_2.19.51.20090709-0maemo10+0m6_armel.deb

It's a little big for me.

Anybody can share only Strings application please? little file...


Thank you

juiceme 2017-03-13 08:03

Re: Strings App
 
Quote:

Originally Posted by n950 (Post 1525301)
Hello,

I want to run Strings command in my terminal on my N9.
I don't want to install this package to have strings.
binutils_2.19.51.20090709-0maemo10+0m6_armel.deb
It's a little big for me.
Anybody can share only Strings application please? little file...
Thank you


Sharing just the binary file might not be enough. As it is linked against a bunch of libraries it might well be that at least some of those libs are installed from binutils package... :D

Code:

~ $
~ $ which strings
/usr/bin/strings
~ $
~ $ ldd /usr/bin/strings
        libbfd-2.19.51.20090709.so => /usr/lib/libbfd-2.19.51.20090709.so (0x3aabc000)
        libdl.so.2 => /lib/libdl.so.2 (0x411e8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x41408000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41180000)
        libc.so.6 => /lib/libc.so.6 (0x41030000)
        /lib/ld-linux.so.3 (0x41000000)
~ $


n950 2017-03-13 08:09

Re: Strings App
 
Quote:

Originally Posted by juiceme (Post 1525302)
Sharing just the binary file might not be enough. As it is linked against a bunch of libraries it might well be that at least some of those libs are installed from binutils package... :D

Code:

~ $
~ $ which strings
/usr/bin/strings
~ $
~ $ ldd /usr/bin/strings
        libbfd-2.19.51.20090709.so => /usr/lib/libbfd-2.19.51.20090709.so (0x3aabc000)
        libdl.so.2 => /lib/libdl.so.2 (0x411e8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x41408000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41180000)
        libc.so.6 => /lib/libc.so.6 (0x41030000)
        /lib/ld-linux.so.3 (0x41000000)
~ $



Can you copy all these files and upload them here please?
If i copy them into good DIR it will work?

juiceme 2017-03-13 08:19

Re: Strings App
 
Quote:

Originally Posted by n950 (Post 1525305)
Can you copy all these files and upload them here please?
If i copy them into good DIR it will work?

Libraries are something you should copy in correct places in the system (usually /lib/, /usr/lib/, /lib64/, something like that) and then run a special library maintanance tool to update system dependencies.

However, is is possible you already have them, you'll never know :)
Here's the strings binary, just for fun; http://www.swagman.org/juice/strings

It might work or not. If it doesn't, then you need some libraries to go with it.

n950 2017-03-13 09:32

Re: Strings App
 
What others command on harmattan can replace Strings? and put same thing.

EDIT:

It's ok now installed

briest 2017-03-13 19:20

Re: Strings App
 
Try
Code:

egrep -ao '[[:print:]]{4,}' /path/to/file
, should pretty well emulate strings.


All times are GMT. The time now is 04:54.

vBulletin® Version 3.8.8