Categories
Linux Mastering Development

Piping Multiple stdouts to Python program?

I have a program that prints in stdout and I’d like multiple instances of it where each instance’s stdout is piped to a sed and then the result(of three such sed) piped to a python program. I’m doing this rtl_power -f 430M:434M:3.2M -g 30 -i 2 | sed -i ‘/2024-03-25/a \ dongle1’ | python calc.py […]