[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Program: notice

From: Wolfgang Jährling
Subject: Program: notice
Date: Sat, 11 May 2002 09:25:41 +0200
User-agent: Mutt/1.0.1i


Finally, I got my file_notice_changes() program working. Not only does
it demonstrate how to implement a simple server, it also makes it
possible to observe modifications made on any of a set of files. By
default, all kinds of modifications are recognized, but this behaviour
can be modified, e.g.:

notice --no-null --no-meta FOO --meta BAR

This would ignore the null message sent on startup for both FOO and BAR,
and ignore changes in the meta information of the file (author etc.) for
FOO, but not for BAR.

When something interesting happens, the corresponding file name will be
printed to stdout. There are lots of possibilities to extend this
program, of course.

Instructions on compiling it are in the sources.


Wolfgang Jährling  <wolfgang@pro-linux.de>  \\  http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\  http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the    ]
[ cutting edge of not being good for anything." -- Roland McGrath ]

Attachment: notice.c
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]