Prefix number argument to execute-command-line is used as iteration count.

This commit is contained in:
Renaud 2015-03-26 11:04:36 +08:00
parent 247fcfdfb8
commit 8597e3adcd
1 changed files with 4 additions and 1 deletions

5
exec.c
View File

@ -129,7 +129,10 @@ int execcmd(int f, int n)
return status;
execlevel = 0;
return docmd(cmdstr);
while( status == TRUE && n-- > 0)
status = docmd( cmdstr) ;
return status ;
}
/*