added note to maybe use xmllint in the future

This commit is contained in:
Armin Briegel
2020-10-22 09:19:11 +02:00
parent 0ea206f81e
commit 6616e229d8

View File

@@ -211,6 +211,8 @@ xpath() {
# the xpath tool changes in Big Sur and now requires the `-e` option
if [[ $(sw_vers -buildVersion) > "20A" ]]; then
/usr/bin/xpath -e $@
# alternative: switch to xmllint (which is not perl)
#xmllint --xpath $@ -
else
/usr/bin/xpath $@
fi