diff --git a/bin/dunemodules.inc b/bin/dunemodules.inc
index 04091a3671567854930688d20976f51f447c0ed9..48a39ee1f0c265836e02b40be065b085e79b6886 100644
--- a/bin/dunemodules.inc
+++ b/bin/dunemodules.inc
@@ -373,7 +373,7 @@ eval_control() {
       # load functions defined in $file
       # if $command is not defined in $file,
       # then the default implementation will be executed
-      eval "$($GREP -v "^[$ALNUM]\{1,\}:" $file)"
+      eval "$($GREP -v "^[-$ALNUM]\{1,\}:" $file)"
       # execute $command
       $command
     ) || false