
On Mon, Aug 07, 2006 at 08:12:19AM +0200, Pascal Bleser wrote:
If I would have the knowledge on how to write such a deamon, I would. Unfortunatly I am unable to do so. :-(
Actually that should be quite easy to do with a shell script, using inotify-tools [1] [2]:
I always thought that a deamon was something different then a standard shell script with a loop. Shows you how much I know. ;-) --
Run the following from the bashprompt if you have the kernel sources for I in `find /usr/src/linux/ -name *.c`; \ do A=`grep -i -A 1 -B 1 fuck $I`;if [ "$A" != "" ]; \ then printf "$I \n$A \n\n"; fi ;done|less
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org