/**********************************************************************
*  Author:      Shawn Stoffer
*  File:        removebline.c
*  Description: This program will remove all whitespace lines from 
*               output.
*  Arguments:   None
*  Systems:     Sun Solaris, SunOS, but should work on most other systems.
 **********************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "aux.h"

int main() {
  char buf[3*1024];
  int i, j;
  int keep = 0;

  get_line(buf, 3*1024, stdin);
  while (!feof(stdin)) {
    j = strlen(buf); 
    for (i = 0; i < j; i++)
      if (!isspace(buf[i])) keep = 1;
    if (keep) { printf("%s\n", buf); keep = 0; }
    get_line(buf, 3*1024, stdin);
  }

  return 0;
}
