From: Fred Hamster Date: Tue, 29 Sep 2026 23:44:43 +0000 (-0400) Subject: changed ordering scheme of output X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=da319c19a5fcfb4fdf04a312b49fd13309bca861;p=feisty_meow.git changed ordering scheme of output now name is first, so the output is possible to sort meaningfully. --- diff --git a/nucleus/applications/utilities/checker.cpp b/nucleus/applications/utilities/checker.cpp index 2fc1ab8c..062316eb 100644 --- a/nucleus/applications/utilities/checker.cpp +++ b/nucleus/applications/utilities/checker.cpp @@ -171,16 +171,15 @@ int main(int argc, char *argv[]) printed_header = true; if (show_header) { printf("%s\n", (astring("[ checker running at ") + time_stamp::notarize(true) + "]").s()); - printf("bizarro fletcher filename\n"); - printf("======= ======== ========\n"); + printf("filename\tbizarro\tfletcher\n"); + printf("========\t=======\t========\n"); } } astring name = c.text(); int checksum_of_file = do_checksum(name, open_file_as_text); int fletcher_chksum = do_fletcher_checksum(name, open_file_as_text); if (checksum_of_file >= 0) { - printf("%s", a_sprintf(" %05d 0x%04x %s\n", checksum_of_file, - fletcher_chksum, name.s()).s()); + printf("%s", a_sprintf("%s\t%05d\t0x%04x\n", name.s(), checksum_of_file, fletcher_chksum).s()); } else { printf("%s", a_sprintf("%s is inaccessible.\n", name.s()).s()); }