Package: incron Version: 0.5.7-1 Severity: minor Hi there, If you set a line like: /tmp/test IN_CREATE,IN_MOVED_TO /tmp/test.sh "$@" "$#"
In your incrontab you expect that test.sh would get $@ in $1, and $# in $2, but if one of those has spaces things get bad: [EMAIL PROTECTED]:/tmp$ touch test/This\ is\ a\ test [EMAIL PROTECTED]:/tmp$ cat vars "/tmp/test" "This is a test" "/tmp/test" "This (test.sh echoes $*, $1 and $2 to /tmp/vars in that order) So, in some way, incron does not care about the quotes (") placed around the arguments on the incrontab. Maybe I'm doing something wrong, but I've always enclosed things in quotes when they have spaces :) Cheers, Marc -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (500, 'gutsy'), (300, 'unstable'), (150, 'experimental'), (100, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]