Change website scripts to use jstrencode

After the swap in the jparse repo of jstrencode and jstrdecode, due to
mix-up in terminology, originally in the mkiocccentry repo, the website
tools that used jstrdecode now have to use jstrencode, with a minimum
version of 2.0.0.

The scripts have been updated to do this. After doing a make install
from the jparse repo I did a make www with no html files changed. Then
doing the same thing after make install from the mkiocccentry/jparse
directory, no changes were made either, indicating that all should be
okay.

The bin/index.html was however modified to refer to jstrencode, not
jstrdecode.
This commit is contained in:
Cody Boone Ferguson committed 2024-11-01 06:45:02 -07:00
1 parent 184cc9be9a
commit e58bd97211
11 files changed
+131 -131

No files matched your search

+2 -2
View File
@@ -802,10 +802,10 @@ For example:
bin/jval-wrapper.sh -b -q 1984/mullender/.entry.json '$.manifest[2].inventory_order'
bin/jval-wrapper.sh author/Anton_Algmyr.json '$.full_name'
bin/jval-wrapper.sh -q -T author/Anton_Algmyr.json '$.full_name' | jstrdecode -
bin/jval-wrapper.sh -q -T author/Anton_Algmyr.json '$.full_name' | jstrencode -
```
**NOTE**: With `jstrdecode(1)` version 1.2.3 or better, one can use `jstrdecode -N`
**NOTE**: With `jstrencode(1)` version 1.2.3 or better, one can use `jstrencode -N`
and not have to use `-T` with `bin/jval-wrapper.sh`.