Add fun file to 2024/ferguson1
The file prog.gotos.c has the lines merged so one can use their syntax
highlighter (or grep, see below) to see all the gotos at once (depending
on screen size, perhaps).
For grep try:
grep -E 'goto|hell|heaven|666' prog.gotos.c
if you have colours enabled. The other patterns is because of alignment
that was maintained in the program (one could do this without 'goto' of
course).
This commit is contained in:
1 parent
408aaa6573
commit
e36748ee8b
4 files changed
+63
-2
No files matched your search
@@ -45,6 +45,14 @@
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "original source code with minor bug fix"
|
||||
},
|
||||
{
|
||||
"file_path" : "prog.gotos.c",
|
||||
"inventory_order" : 90,
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "c",
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "prog.c with merged lines to show mass of gotos"
|
||||
},
|
||||
{
|
||||
"file_path" : "prog.orig.c",
|
||||
"inventory_order" : 50,
|
||||
|
||||
Reference in new issue
Block a user