#include <jaz.h>
#include <jzscreen.h>

main(argc,argv)
int argc;
char **argv;
{

  int w;
  char wstr[256];
  char wline[9];

  if (argc < 2) exit(0);	/* exit cuz no arguments */

  *argv++;			/* look past invoking pgm name */

  strncpy(wstr,*argv++,255);	/* get first argument into wstr */

  cls(LIGHTGRAY);

  while (*argv[0]) {		/* parse out the line */
    strcat(wstr," ");
    strcat(wstr,*argv++);
  }

  jzgetpce(wstr,wline,',',1);   /* get first comma piece */

  w = 0;

  while (*wline) {
    jzbigstr(wline,w * 8 + 1,CNTCOL(wline,10)*8+1,'°',RED);
    jzbigstr(wline,w * 8,CNTCOL(wline,10)*8,'Û',CYAN);
    jzgetpce(wstr,wline,',',w + 2);
    w ++;
  }
}
