From 51fbacb0245ddd27263e4f9bec978fa07129211d Mon Sep 17 00:00:00 2001 From: John Breaux Date: Fri, 22 Apr 2022 21:08:02 -0500 Subject: [PATCH] Create test1.txt This is a horribly malformed but still *technically* readable file. --- test1.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test1.txt diff --git a/test1.txt b/test1.txt new file mode 100644 index 0000000..a9a6fba --- /dev/null +++ b/test1.txt @@ -0,0 +1,23 @@ +% This file is a very poorly formatted example file, which contains all sorts of garbage +% This was written to ensure the parser is as robust as possible, and won't crash on malformed input + +nv249hvbwer8oysbvdofuvbfdz wsdfabsv num_processes = 4 +// Gee, this isn't actually a comment is it? +# but most of that is there to distract the program! +[][][][]\\\\\';./` num_resources= 4ibeoifbavdivbkdhbz +% lines beginning with % are comments + % for example: num_processes = 128314 +% The first line containing a list of numbers will be interpreted as resource_counts + 12 ,14,16 , 18 +% this line is missing a comma +1,2 3,4,5,6,7,8 +% this line has an absurd number of spaces after the comma +1, 2, 3, 4, 5, 6, 7,8 +% and this one, before the comma +1 ,2 ,3 ,4 ,5 ,6 ,7,8 +% nevertheless, it keeps on chugging. + 1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 +1,2,3,4,5,6,7,8 \ No newline at end of file