summaryrefslogtreecommitdiff
path: root/miniany/cc.wg
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-09-30 17:03:17 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-09-30 17:03:17 +0200
commitb0c6943121f186c79d2152694d209f82904ff1e1 (patch)
tree1fb2d1c528f5e7189e04ab1410f264a8121c01e6 /miniany/cc.wg
parent9071723d55055307f0e92ae0f9d3194079aa086e (diff)
downloadcompilertests-b0c6943121f186c79d2152694d209f82904ff1e1.tar.gz
compilertests-b0c6943121f186c79d2152694d209f82904ff1e1.tar.bz2
cc: rearanged for a pseudo-main
Diffstat (limited to 'miniany/cc.wg')
-rw-r--r--miniany/cc.wg13
1 files changed, 8 insertions, 5 deletions
diff --git a/miniany/cc.wg b/miniany/cc.wg
index dbf56a9..7aca567 100644
--- a/miniany/cc.wg
+++ b/miniany/cc.wg
@@ -29,14 +29,14 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.clipboard.margin: 0
.clipboard.viewmode: 1
.clipboard.wordcount: 19
-.documents.1.co: 10
-.documents.1.cp: 39
-.documents.1.cw: 5
+.documents.1.co: 11
+.documents.1.cp: 74
+.documents.1.cw: 1
.documents.1.margin: 0
.documents.1.name: "main"
.documents.1.sticky_selection: false
.documents.1.viewmode: 1
-.documents.1.wordcount: 910
+.documents.1.wordcount: 928
.fileformat: 8
.findtext: "C4"
.menu.accelerators.^@: "ZM"
@@ -199,7 +199,7 @@ PRE echo -n -e "\034" > EOF
PRE cat cc.c EOF hello.c | ./c4
PRE cat c4.c EOF cc.c EOF hello.c | ./c4
PRE cat c4.c4 EOF c4.c EOF cc.c EOF hello.c | ./c4
-P EOF contains the traditional FS (file separator) character in the ASCII character set. Every time c4/c4.c is invoked it reads exacly one input file up to the first FS character (or stops at the end of stdin).
+P EOF contains the traditional FS (file separator) character in the ASCII character set. Every time c4 is invoked it reads exacly one input file up to the first FS character (or stops at the end of stdin).
P We can also use -s, or -d on every level as follows:
PRE cat cc.c EOF hello.c | ./c4 -d
H2 References
@@ -220,4 +220,7 @@ LB https://github.com/rswier/swieros.git: c.c in swieros, Robert Swierczek
P Assembly:
LB https://github.com/felipensp/assembly/blob/master/x86/itoa.s, for putint (early debugging keyword)
LB https://baptiste-wicht.com/posts/2011/11/print-strings-integers-intel-assembly.htm (earldy debugging keyword)
+P Documentation:
+LB http://cowlark.com/wordgrinder/index.html: the fabulous editor which just does what it should do
+LB https://github.com/mity/md4c: markdown to HTML in C
.