rem: for (j = 0; j < count; j++) { (*file)[j] = WMGetFromBag(bag, j);
add: for (i = 0; i < count; i++) { (*file)[i] = WMGetFromBag(bag, i);
context: separateCommand(char *line, char ***file, char **command){    char *token, *tmp = line;    WMBag *bag = WMCreateBag(4);    int count, i;    *file = NULL;    *command = NULL;    do {        token = next_token(tmp, &tmp);        if (token) {            if (strcmp(token, "WITH")==0) {                if (tmp!=NULL && *tmp!=0)                    *command = wstrdup(tmp);                else                    wwarning(_("%s: missing command"), line);                break;            }	    WMPutInBag(bag, token);        }    } while (token!=NULL && tmp!=NULL);    count = WMGetBagItemCount(bag);    if (count>0) {        int j;        *file = wmalloc(sizeof(char*)*(count+1));        i = count;        (*file)[count] = NULL;        for (j = 0; j < count; j++) {            (*file)[j] = WMGetFromBag(bag, j);        }    }    WMFreeBag(bag);}