Dark-Side
public java v1 · immutable// Fill a line up to length LEN<LP>[ \t] { // if the length of the word just read is less than the size of the line// add the word to the output if (output.length() < LEN) { output = output + yytext(); }// if the current output plus the word just read is more than the line, add a carriage return instead if (output.length() >= LEN) {System.out.println("\n");} // print the output System.out.println(output); }