> -----Original Message-----
> From: Dani Pardo [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 4:25 PM
> To: [EMAIL PROTECTED]
> Subject: Re: File Monitoring
> 
> 
>     Hi, I've done this app. What I do is put into a file the 
> output of 
> ls -lR /directory_to_watch.
>   Then use diff to compare the results. This gives the 
> advantage that, 
> if a line starts with +, then a new file has been added. If 
> it's -,  a 
> file has been deleted :)

Is this a joke  ? :-)

Here's a typical diff output:

17,18d16
< (who writes under the
< pseudonym "Omniscient Trash")
45,46c43,44
< soon every Tom, Dick or Harry
< will be writing his own Perl book
---
> soon every Tom, Randal and Larry
> will be writing their own Perl book
69a68,69
> Copyright (c) 1998, The Perl Journal.
> All rights reserved.

José.


**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to