organization

master
Chris Nutter 2019-05-11 23:03:45 -07:00
parent d5cf64518a
commit 045939cb08
20 changed files with 10 additions and 41 deletions

10
diff.c
View File

@ -165,13 +165,3 @@ void loud(const char* filename1, const char* filename2) {
else { normal(files[0], files[1]); }
}
// ================================================================ //
/*
TODO: check line by line in a pagraph, using '|' for differences");
TODO: this starter code does not yet handle printing all of fin1's pagraphs.");
TODO: handle the rest of diff's options");
TODO: fix standard printing with no pameters");
TODO: implement multiple types of pameters\n");
*/

10
diff.h
View File

@ -12,6 +12,16 @@
#define HASHLEN 200
#define BUFLEN 256
// ================================================================ //
/*
TODO: check line by line in a pagraph, using '|' for differences");
TODO: this starter code does not yet handle printing all of fin1's pagraphs.");
TODO: handle the rest of diff's options");
TODO: fix standard printing with no pameters");
TODO: implement multiple types of pameters\n");
*/
// ================================================================= //
FILE *fin1, *fin2;

View File

@ -1,23 +0,0 @@
Usage: diff-rcm [OPTION]... FILES
Compare FILES line by line.
Mandatory arguments to long options are mandatory for short options too.
--normal output a normal diff (the default)
-q, --brief report only when files differ
-s, --report-identical-files report when two files are the same
-c, -C NUM, --context[=NUM] output NUM (default 3) lines of copied context
-u, -U NUM, --unified[=NUM] output NUM (default 3) lines of unified context
-y, --side-by-side output in two columns
-i, --ignore-case ignore case differences in file contents
--help display this help and exit
-v, --version output version information and exit
FILES are 'FILE1 FILE2'
If --from-file or --to-file is given, there are no restrictions on FILE(s).
If a FILE is '-', read standard input.
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
Report bugs to: cdnutter@gmail.com
diff-rcm home page: <https://Github.com/cdnutter/diff/>

View File

@ -1,8 +0,0 @@
██ ██ ████ ████
░██░░ ░██░ ░██░
░██ ██ ██████ ██████ ██████ █████ ██████████
██████░██░░░██░ ░░░██░ █████░░██░░█ ██░░░██░░██░░██░░██
██░░░██░██ ░██ ░██ ░░░░░ ░██ ░ ░██ ░░ ░██ ░██ ░██
░██ ░██░██ ░██ ░██ ░██ ░██ ██ ░██ ░██ ░██
░░██████░██ ░██ ░██ ░███ ░░█████ ███ ░██ ░██
░░░░░░ ░░ ░░ ░░ ░░░ ░░░░░ ░░░ ░░ ░░