On Tue, Aug 27, 2019 at 11:46 PM Peng Yu <pengyu...@gmail.com> wrote:
> I just need the return status of sqldiff (as `cmp -s`). Is there an > option to suppress all the screen output? Thanks. > https://www.sqlite.org/cgi/src/artifact/7b9b7238284f0213 Doesn't look like it does. But redirecting to /dev/null or NUL would do. Only problem is there are only two returns in main(), both returning 0; But I guess the output of sqldiff is empty (or deterministic?) is the same, so that output can be processed by something. Adding a mode to sqldiff to return 0 on same or 1 on different should not be difficult though. Adding short-circuiting to make it fast might be a little harder. --DD _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users