diff --git a/src/process.c b/src/process.c
index 40ff323f87a9360504415f7016d5883aebdd7e82..eedb3362fcb7a646c8700a65e67ca46f8b8b0a03 100644
--- a/src/process.c
+++ b/src/process.c
@@ -354,12 +354,16 @@ argument_t *glob_pattern(const char *restrict string)
   argument_t *argument = NULL;
 
   // glob the input argument or do even more shell magic
+  //printf("string >%s<\n", string);
   wordexp(string, &glob_results, flags);
 
   /* How much space do we need?  */
+  //printf("glob_results.we_wordc %d\n", glob_results.we_wordc);
   for ( p = glob_results.we_wordv, cnt = glob_results.we_wordc; cnt; p++, cnt-- )
-    length += strlen(*p) + 1;
-
+    {
+      //  printf("cnt %d p %d\n", cnt, p);
+      length += strlen(*p) + 1;
+    }
   /* Allocate the space and generate the list.  */
   argument = argument_new(glob_results.we_wordc, length);
 
@@ -698,7 +702,6 @@ int checkStreamCnt(void)
     cdoAbort("Too few streams specified!"
              " Operator needs %d input and %d output streams.", streamInCnt, streamOutCnt);
 
-
   for ( i = streamInCnt; i < streamCnt; i++ )
     {
       if ( Process[processID].streamNames[i].args[0] == '-' )