IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Bizarre grep differences...
Solaris vs. Linux:

Solaris:
/export/home/sanderson/tmp/oracle/jdbc/oci8>grep get_env_handle OCIEnv.class
/export/home/sanderson/tmp/oracle/jdbc/oci8>

Linux:
sanderson@bd00402:$ grep get_env_handle /mnt/ds1d/home/tmp/oracle/jdbc/oci8/OCIEnv.class
Binary file /mnt/ds1d/home/tmp/oracle/jdbc/oci8/OCIEnv.class matches
sanderson@bd00402:$

I can open the file in Emacs on Solaris and find the 'get_env_handle' string as well.

Curiouser and curiouser...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New GLOB screwed up?
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Nope.
"strings OCIEnv.class | grep get_env_handle" works just fine.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New if you give explicite path, does it work?as in ./file ?
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Path doesn't matter, globbing doesn't matter.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Tried any variations to have it search for it literally?
I know that the grep on solaris follows some bizarre rules some times...

Dunno if it means anything... I'd be interested to see in Linux for Sparc does this too...

[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]   [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!]
[link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004]
Heimatland Geheime Staatspolizei reminds:
These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them.
"Questions" will be asked at safety checkpoints.
New Since it's not reporting anything back...
...are you sure grep's not working - it's just the output got shipped to dev/null?
New That's just grep's way of saying, "nothing found"
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Binary files -- different greps?

I note that your GNU/Linux output indicates that you're dealing with\r\na binary file. I suspect a difference in handling of this by your\r\ngreps.

\r\n\r\n

Check the Solaris grep's manpage and make sure there's not an option\r\nrequired to test binary files. Also try strings on the file\r\nfrom both sides to see if you can find the pattern string you're\r\nmatching on.

\r\n\r\n

Might also want to compile GNU grep on the Solaris box and see what\r\nit makes of this.

\r\n
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New Already did that.
As noted, at least with using 'strings'. :-)

No Solaris grep option. So I suspect it might be \\0 processing or something odd like that.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Can it not find the expression with...
cat OCIEnv.class | grep get_env_handle

That'd help define if it is the \\0 processing then... (at least I am think it should)

Or compress it and then zcat it to grep... might bring out the flaw... ;)

[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]   [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!]
[link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004]
Heimatland Geheime Staatspolizei reminds:
These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them.
"Questions" will be asked at safety checkpoints.
New he did that using the strings command
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New I know... but strings does some stripping...
and preprocesses the input for it.

From most any manpage:

strings - print the strings of printable characters in files.


Specifically, it (should) only (does|do) sequences of 4 characters or longer...

So, thank you very much... William Oxley! :)

[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]   [link|http://pascal.rockford.com:8888/SSK@kQMsmc74S0Tw3KHQiRQmDem0gAIPAgM/edcurry/1//|ED'S GHOST SPEAKS!]
[link|http://www.eweek.com/article2/0,3959,857673,00.asp|Writing on wall, Microsoft to develop apps for Linux by 2004]
Heimatland Geheime Staatspolizei reminds:
These [link|http://www.whitehouse.gov/pcipb/cyberstrategy-draft.html|Civilian General Orders], please memorize them.
"Questions" will be asked at safety checkpoints.
     Bizarre grep differences... - (admin) - (12)
         GLOB screwed up? -NT - (boxley) - (3)
             Nope. - (admin) - (2)
                 if you give explicite path, does it work?as in ./file ? -NT - (boxley) - (1)
                     Path doesn't matter, globbing doesn't matter. -NT - (admin)
         Tried any variations to have it search for it literally? - (folkert)
         Since it's not reporting anything back... - (ChrisR) - (1)
             That's just grep's way of saying, "nothing found" -NT - (admin)
         Binary files -- different greps? - (kmself) - (4)
             Already did that. - (admin) - (3)
                 Can it not find the expression with... - (folkert) - (2)
                     he did that using the strings command -NT - (boxley) - (1)
                         I know... but strings does some stripping... - (folkert)

We are antisocial. We like things on our own terms. We break stuff for fun. We're judgey.
62 ms