Tweak example/*/*.cc compile instructions

This commit is contained in:
Nigel Tao committed 2020-08-05 11:39:09 +10:00
1 parent f557dad608
commit 50bfab9998
4 files changed
+4 -8

No files matched your search

+1 -2
View File
@@ -19,8 +19,7 @@ crc32 prints the CRC-32 checksum (using the IEEE polynomial) of stdin. It is
similar to the standard /usr/bin/crc32 program, except that this example
program only reads from stdin.
This example program differs from most other example Wuffs programs in that it
is written in C++, not C.
To run:
$CXX crc32.cc && ./a.out < ../../README.md; rm -f a.out
+1 -2
View File
@@ -22,8 +22,7 @@ See the "const char* g_usage" string below for details.
----
This example program differs from most other example Wuffs programs in that it
is written in C++, not C.
To run:
$CXX json-to-cbor.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
+1 -2
View File
@@ -49,8 +49,7 @@ This program (jsonfindptrs) rejects duplicate keys.
----
This example program differs from most other example Wuffs programs in that it
is written in C++, not C.
To run:
$CXX jsonfindptrs.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
+1 -2
View File
@@ -86,8 +86,7 @@ it runs in a SECCOMP_MODE_STRICT sandbox.
----
This example program differs from most other example Wuffs programs in that it
is written in C++, not C.
To run:
$CXX jsonptr.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out