开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Capturing output of rigctl commands with Bash


 

Thanks for the responses. I wasn't specific enough about what I was trying to do, and Adam's guess was spot on. I was overthinking this and trying to use a pipe (|) and grep. Turns out it was just the simple variable assignment in Adam's first line. I think I had tried that but didn't get the syntax correct.
?
Eventually this script will be folded in with some other code that will be run periodically by either chron or systemd to see if VARA, rigctld, and Flrig is running on a Raspberry Pi for a BPQ HF port.? Not sure exactly sure what radio we will run yet but this is the last piece of the puzzle I need to make sure things restart after a power failure. There is a generator on campus but I can't test the generator startup and Murphy likes to hang out at remote locations.
?
Again, thanks for responding. Now for the next challenge.
?
73
Dave
WB9TEN

Join [email protected] to automatically receive all group messages.