| 580 | 'empty_filler' if it is nonempty. */ |
| 581 | |
| 582 | static void |
| 583 | prfield (idx_t n, struct line const *line) |
| 584 | { |
| 585 | if (n < line->nfields) |
| 586 | { |
| 587 | idx_t len = line->fields[n].len; |
| 588 | if (len) |
| 589 | fwrite (line->fields[n].beg, 1, len, stdout); |
| 590 | else if (empty_filler) |
| 591 | fputs (empty_filler, stdout); |
| 592 | } |
| 593 | else if (empty_filler) |
| 594 | fputs (empty_filler, stdout); |
| 595 | } |
| 596 | |
| 597 | /* Output all the fields in line, other than the join field. */ |
| 598 |