1825769 Members
2019 Online
109687 Solutions
New Discussion

Re: Powerfull Find

 
SOLVED
Go to solution
AZayed
Super Advisor

Re: Powerfull Find

Hi,

Thanks for answering, my last question is how to run find command in UNIX95 environment.

Regards,
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
OldSchool
Honored Contributor

Re: Powerfull Find

setting the UNIX95 variable in the command line for find will do it, for example

UNIX95= find . -name testdunce -mtime ....

setting / exporting UNIX95 will also work, but I don't recommend that approach as that variable influences a bunch of different things, like the "ps" command as well, and so could inadvertantly cause havoc.
OldSchool
Honored Contributor

Re: Powerfull Find

also, note that UNIX95= was followed by a space....
AZayed
Super Advisor

Re: Powerfull Find

Thanks,

A lot of useful information & ideas,

Regards,
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Dennis Handly
Acclaimed Contributor

Re: Powerfull Find

>JRF: And just where in the HP-UX manpages did you find that?

I had to look at the 11.31 sources.

>... When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored..."

That's the default, non UNIX95 functionality.
James R. Ferguson
Acclaimed Contributor

Re: Powerfull Find

Hi (again):

>Dennis: I had to look at the 11.31 sources.

Ah, thanks, it would be nice to be able to access those :-) I'm glad I didn't miss reading it. An update of the 11.31 manpages would be really nice ;-) [hint; hint]

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Powerfull Find

>JRF: An update of the 11.31 manpages would be really nice

Ok, I filed QXCR1000875650 and mentioned this thread.
James R. Ferguson
Acclaimed Contributor

Re: Powerfull Find

Hi:

> Dennis: Ok, I filed QXCR1000875650 and mentioned this thread

Dennis, a BIG THANK YOU for doing that!

Warm Regards!

...JRF...