Hello,
I can't pipe output like this:-

$ pasta --version | grep pasta
<blank!>

but this works:-

$ sudo apt install expect

$ unbuffer pasta --version | grep pasta
pasta 2025_05_12.8ec1341-9-g3262c9b

If this is the intended action, please can you tell me why?

Thanks
John