Unix Programming - Implementation of Unix find( ) command

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2004 > Implementation of Unix find( ) command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Implementation of Unix find( ) command
Mike

2004-03-29, 5:37 pm

Hi

Is there any way I can get a simple implementation of Unix's find()
command, preferably in C/C++. Thanks
joe@invalid.address

2004-03-29, 5:37 pm

ulflong@yahoo.com (Mike) writes:

> Is there any way I can get a simple implementation of Unix's find()
> command, preferably in C/C++. Thanks


Depends on what you mean by simple. The source is available from linux
and *BSD sites.

Joe
--
If people don't want to come out to the ballpark, nobody's going
to stop them.
- Yogi Berra
Mike

2004-03-30, 2:34 am

Don't worry about simple. Just let me know exactly what sites could
provide me the code to implement find() for Unix in C/C++. Actually,
by simple I had meant that the implementation didn't need to cover
every single parameter for the actual find(1) command found on Unix
man pages. Also, I don't want an implementation that uses find()
system calls. Thanks

Mike

joe@invalid.address wrote in message news:<m3d66vwa26.fsf@invalid.address>...
> ulflong@yahoo.com (Mike) writes:
>
>
> Depends on what you mean by simple. The source is available from linux
> and *BSD sites.
>
> Joe

Barry Margolin

2004-03-30, 2:34 am

In article <837d9c7e.0403292319.66ed3829@posting.google.com>,
ulflong@yahoo.com (Mike) wrote:

> Don't worry about simple. Just let me know exactly what sites could
> provide me the code to implement find() for Unix in C/C++. Actually,
> by simple I had meant that the implementation didn't need to cover
> every single parameter for the actual find(1) command found on Unix
> man pages. Also, I don't want an implementation that uses find()
> system calls. Thanks


http://www.gnu.org/software/findutils/findutils.html

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Markus Gyger

2004-03-30, 4:34 am

ulflong@yahoo.com (Mike) writes:
> Is there any way I can get a simple implementation of Unix's find()
> command, preferably in C/C++.


Check if your system has nftw(3C).


Markus
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com