Fix typo in join(1)
This was causing some mysterious output bugs. Thanks, Wolfgang Corcoran-Mathe!
This commit is contained in:
2
join.c
2
join.c
@@ -140,7 +140,7 @@ prjoin(struct line *la, struct line *lb, size_t jfa, size_t jfb)
|
|||||||
for (i = 0; i < lb->nf; i++) {
|
for (i = 0; i < lb->nf; i++) {
|
||||||
if (i != jfb) {
|
if (i != jfb) {
|
||||||
prfield(&lb->fields[i]);
|
prfield(&lb->fields[i]);
|
||||||
if (i < la->nf - 1)
|
if (i < lb->nf - 1)
|
||||||
prsep();
|
prsep();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user