Closed gaborbernat closed 2 years ago
First guess is an encoding problem with curl ... > out.inv
.
What happens if you wget
the inventory, instead?
Or, try sphobjinv suggest -u {URL} Type
.
Alternatively, if you really need to use curl
, try:
$ curl {URL} | sphobjinv suggest - Type
You're right; though not sure why it works with 3.9 and not for 3.10 😊
Ah, no, that last curl
will fail...it only works with decompressed inventories.
The shell does not play nice with piped binary data...I don't know exactly how it transforms it, but it is definitely NOT a no-op. (Or, at least, it's not guaranteed to always be no-op.)
I expect that there are Obscure Zlib/Shell Reasons(TM) why 3.9's piped okay but 3.10's didn't.