Hi _paste_ prints output improperly now. so, fix it over comparing the behavior from gnu.
Thanks.
diff --git a/toys/posix/paste.c b/toys/posix/paste.c
index 0e170cd..2e497ea 100644
--- a/toys/posix/paste.c
+++ b/toys/posix/paste.c
@@ -92,7 +92,7 @@ void paste_main(void)
break;
}
}
- if (anyopen) putchar((i + 1 == toys.optc) ? toybuf[i % ndelim] :
'\n');
+ if (anyopen) putchar((i + 1 == toys.optc) ? '\n' : toybuf[i %
ndelim]);
}
}
}
0001-paste-fix-basic-behavior-of-output.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
