Minor improvements to 1991/fine/{demo.sh,Makefile}

The demo.sh script now shows a bit more what is going on, at least in so
far as the text can go either way: instead of showing:

    Green terra: Terra green
    Vex: Irk
    [...]
    The rug gary lenT: Gur eht tnel yraG

it shows:

    Green terra <->  Terra green
    Vex <->  Irk
    [...]
    The rug gary lenT <->  Gur eht tnel yraG

The Makefile now silences as many warnings as possible.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-18 01:32:07 -07:00
1 parent 03b74d458e
commit 10a947b34e
2 files changed
+11 -10

No files matched your search

+3 -2
View File
@@ -39,7 +39,8 @@ include ../../var.mk
# Common C compiler warnings to silence # Common C compiler warnings to silence
# #
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int -Wno-parentheses \
-Wno-return-type -Wno-deprecated-non-prototype -Wno-disabled-macro-expansion
# Common C compiler warning flags # Common C compiler warning flags
# #
@@ -94,7 +95,7 @@ endif
# #
ifeq ($(CC),gcc) ifeq ($(CC),gcc)
# #
#CSILENCE+= CSILENCE+= -Wno-missing-parameter-type
# #
#CWARN+= #CWARN+=
# #
+8 -8
View File
@@ -2,22 +2,22 @@
make all || exit 1 make all || exit 1
echo -n "Green terra: " echo -n "Green terra <-> "
echo "Green terra" |./fine echo "Green terra" |./fine
echo -n "Vex: " echo -n "Vex <-> "
echo "Vex" | ./fine echo "Vex" | ./fine
echo -n "Tang: " echo -n "Tang <-> "
echo "Tang" | ./fine echo "Tang" | ./fine
echo -n "Vend onyx: " echo -n "Vend onyx <-> "
echo "Vend onyx" | ./fine echo "Vend onyx" | ./fine
echo -n "Cheryl be flashy: " echo -n "Cheryl be flashy <-> "
echo "Cheryl be flashy" | ./fine echo "Cheryl be flashy" | ./fine
echo -n "Rail: " echo -n "Rail <-> "
echo "Rail" | ./fine echo "Rail" | ./fine
echo -n "Clerk: " echo -n "Clerk <-> "
echo "Clerk" | ./fine echo "Clerk" | ./fine
echo -n "The rug gary lenT: " echo -n "The rug gary lenT <-> "
echo "The rug gary lenT" | ./fine echo "The rug gary lenT" | ./fine