Skip to content

bash process substitution works with 2.0.19, but not 3.1.6 #344

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

Open
bisz opened this issue Mar 26, 2025 · 1 comment
Open

bash process substitution works with 2.0.19, but not 3.1.6 #344

bisz opened this issue Mar 26, 2025 · 1 comment

Comments

@bisz
Copy link

bisz commented Mar 26, 2025

thanks for making the awesome q and making it free.

i use bash process substitution quite often (cutting the code of writing/reading files), and it works perfectly with q 2.0.19:

$ /Users/bisz/Downloads/q-x86_64-Darwin -v
q version 2.0.19
Python: 3.7.3 (default, Sep  9 2020, 19:20:35) // [Clang 7.3.0 (clang-703.0.31)]
Copyright (C) 2012-2020 Harel Ben-Attia (harelba@gmail.com, @harelba on twitter)
http://harelba.github.io/q/

$ echo $a
1

$ /Users/bisz/Downloads/q-x86_64-Darwin 'select * from '<(echo $a)
Warning: column count is one - did you provide the correct delimiter?
1

but q 3.1.6 seems ignoring the entire data:

$ q -v
q version 3.1.6
Python: 3.8.11 (default, Jul 24 2021, 22:28:00) // [Clang 12.0.1 ]
Copyright (C) 2012-2021 Harel Ben-Attia (harelba@gmail.com, @harelba on twitter)
http://harelba.github.io/q/

$ \q 'select * from '<(echo $a)
Warning - data is empty

$ echo $a
1

$ \q 'select * from '<(echo $a)
Warning - data is empty

is it a bug, a behavior change, or somethign that i am missing?

appreciate your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@bisz and others