-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trim is not working well #3078
Comments
Hey! jqplay uses jq 1.7.1 and the trim functions are current only in the development version of jq and will most likely be in next release. |
It would be nice if jqplay could support different versions of jq, maybe even a "nightly" somehow. But that discussion should probably be at https://github.com/owenthereal/jqplay |
Maybe the main confusion comes from that https://jqlang.github.io/jq/manual/ is docs for the development version and not latest stable release? |
Oh, I agree. This bit me today as well! I used the manual as documentation and tried it in the command line, which didn't work. I assumed that the manual is for the latest stable version and that I had some older version installed. I tried it in the playground -- same result, which confused me even more. My next thought was that maybe I'm looking docs for a fork, or that the docs were generated by an LLM and unreliable (oh no)… only to find this issue. Maybe it makes sense to keep the docs for the stable version, and offer a nightly version of the docs when explicitly asked? |
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Related to jqlang#3078 jqlang#3127
@heyarne sorry for the confusion, i just made #3130 to hopefully clear things up a bit |
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Related to jqlang#3078 jqlang#3127
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Related to jqlang#3078 jqlang#3127
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Related to jqlang#3078 jqlang#3127
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test generation Related to jqlang#3078 jqlang#3127
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test and man page generation to use dev/manual.yml Related to jqlang#3078 jqlang#3127
Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test and man page generation to use dev/manual.yml Related to jqlang#3078 jqlang#3127
Fixes issue with confusion about features that has not been released yet. Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test and man page generation to use dev/manual.yml Related to jqlang#3078 jqlang#3127
Fixes issue with confusion about features that has not been released yet. Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test and man page generation to use dev/manual.yml Related to jqlang#3078 jqlang#3127
Fixes issue with confusion about features that has not been released yet. Move deveopment manual.yml to dev/manual.yml Symlink manual.yml to v1.7/manual.yml Refactor to share history header with links to other manual versions. Change man.test and man page generation to use dev/manual.yml Related to #3078 #3127
Now fixed by #3130 but /dev manual will still have possibly broken jqplay examples |
Please test it in: jqplay
The error is general:
jq: error: trim/0 is not defined at , line 1:
trim, ltrim, rtrim
jq: error: ltrim/0 is not defined at , line 1:
trim, ltrim, rtrim
jq: error: rtrim/0 is not defined at , line 1:
trim, ltrim, rtrim
jq: 3 compile errors
exit status 3
The text was updated successfully, but these errors were encountered: