Index: trunk/Ohana/src/opihi/lib.shell/parse.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/parse.c	(revision 3317)
+++ trunk/Ohana/src/opihi/lib.shell/parse.c	(revision 7917)
@@ -74,5 +74,5 @@
       free (B);
 
-      if (status) fprintf (stderr, "warning: exit status of command %d\n", status);
+      if (status) gprint (GP_ERR, "warning: exit status of command %d\n", status);
 
       /* convert all but last return to ' '.  drop last return */
@@ -131,5 +131,5 @@
     free (V0); V0 = (char *) NULL;
     if (Nval >= vec[0].Nelements) {
-      fprintf (stderr, "no element %d\n", Nval);
+      gprint (GP_ERR, "no element %d\n", Nval);
       goto escape;
     }
@@ -170,10 +170,10 @@
     c1 = strchr (L, '}');
     if (c1 == NULL) {
-      fprintf (stderr, "no close brackets!\n");
+      gprint (GP_ERR, "no close brackets!\n");
       goto escape;
     }
     c2 = strchr (L, '{');
     if ((c2 != NULL) && (c2 < c1)) {
-      fprintf (stderr, "can't nest brackets!\n");
+      gprint (GP_ERR, "can't nest brackets!\n");
       goto escape;
     }
@@ -205,5 +205,5 @@
 
   error:
-  fprintf (stderr, "syntax error\n");
+  gprint (GP_ERR, "syntax error\n");
 
   escape:
