update bin tools to use JSONPath.sh Version 0.0.22
The `JSONPath.sh` has been updated (and bug fixed). The `-A` option is gone and `-4` has been added. See: https://github.com/lcn2/JSONPath.sh Changed `bin/jfmt-wrapper.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-04-21". Changed `bin/jprint-wrapper.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-04-21". Changed `bin/jval-wrapper.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-04-21". Tested the above via `make www gen_status gen_sitemap timestamp` on macOS.
This commit is contained in:
1 parent
2368b8ded5
commit
8ed2de8456
4 files changed
+33
-33
No files matched your search
+4
-4
@@ -112,7 +112,7 @@ export LC_ALL="C"
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="2.0.0 2025-03-13"
|
||||
export VERSION="2.0.1 2025-04-21"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -372,9 +372,9 @@ case "$XPATHJSON_USE" in
|
||||
# case: -Q - perform quick check
|
||||
#
|
||||
if [[ -n $QUICK_CHECK ]]; then
|
||||
# verify JSONPath.sh supports -S -A -p
|
||||
if ! "$JSONPATH_SH" -S -A -p >/dev/null 2>&1; then
|
||||
echo "$0: ERROR: JSONPath.sh tool does not support -S -A: $FIZZBIN_JSON" 1>&2
|
||||
# verify JSONPath.sh supports -S -4 -p
|
||||
if ! "$JSONPATH_SH" -S -4 -p >/dev/null 2>&1; then
|
||||
echo "$0: ERROR: JSONPath.sh tool does not support -S -4 -p: $FIZZBIN_JSON" 1>&2
|
||||
echo "$0: notice: we recommend you obtain and install jsp from: $JSP_REPO" 1>&2
|
||||
echo "$0: notice: or obtain jsp via \"pipx install jsp\" and placing ~/.local/bin in \$PATH" 1>&2
|
||||
echo "$0: notice: otherwise install JSONPath.sh from: $JSONPATH_REPO" 1>&2
|
||||
|
||||
Reference in new issue
Block a user