Gossamer Forum
Home : General : Perl Programming :

File diff type question

Quote Reply
File diff type question
I want to know when users are added or removed from my .htpasswd file.

Currently i have a script that ftps the lastest and diff sthe old and the new. This is ok, but diff shows info about where the names have moved to etc. So I have to wade through the diff info.

I need some thing that just simply says what lines(Names) are new and what lines(Names) have been removed!

Any help alway very much Appreciated! Wink

Cat xxx
Quote Reply
Re: [catlovette] File diff type question In reply to
One suggestion is creating a history file that you could import into your database. Then you could use the database to query your password file data, by a flag column, like "New" - "Modify", or something like that.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] File diff type question In reply to
Thanks for getting back to me! But you have lost me! Whats a history file and how is one created.




Cat