I need to create a script where if there are new alias created, it will dump to
a file called address.txt. I use diff. rsync the alias file every 5 mins and
compare the new one to the old one. (e.g. rsync from 10:15AM will be compare to
rsync from 10:10AM using diff). It works but if there are removed email
address, it will dump that email address address.txt which I don't want to
happen.
Can diff recognize the new added text and removed text? Or do I need to use
other language? Or there are other commands similar to diff? I tried a create
script as simple as possible that's why I'm using bash.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com _________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph