commit 45381de834ddc6df6cd3dd7435561222b01d75d0
parent 82c7a95c06c1b95ccb58a4a96eaacff0583c3174
Author: phoebos <ben@bvnf.space>
Date: Mon, 6 Jun 2022 01:05:41 +0100
uxnsolve: warn on include (not followed yet)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/uxnsolve b/uxnsolve
@@ -65,6 +65,10 @@ while read -r line; do
# word splitting is desired.
# shellcheck disable=SC2086
set -- $line
+ for op; do case "$op" in "~"*)
+ printf "\033[1;33mWARNING\033[m: include not followed, output probably incorrect\n" >&2
+ ;; esac
+ done
i="$((i + $#))"
[ "$i" -ge "$token" ] && {
printf "line %d: " "$lineno"