wofr06 / lesspipe

lesspipe - display more with less
GNU General Public License v2.0
484 stars 51 forks source link

support jaq as an alternative to jq #145

Closed KiaraGrouwstra closed 8 months ago

KiaraGrouwstra commented 8 months ago

jaq is a rust port of jq, although they by default only export a jq binary rather than aliasing this to jq as well. it would be nice if lesspipe were to support using this package as an alternative to jq as well.

wofr06 commented 8 months ago

The jq binary is available for several Linux distros but packages for jaq are rare. Even then jq could be installed alongside to jaq (or aliased to jq). I do not see a benefit for adding the support for jaq. It is a very small change but I tend to keep the number of external programs supported at a reasonable minimum in order avoiding to check compatibilities, vulnerabilities etc. Other opinions?