Re: Possible to have fixed output positions for multiple commands

2025-01-24 Thread William Bader
The sequence below will write each line to row 2 of the screen. If you can arrange the output of your commands to start with a prefix, you could parse the prefix from the parallel output to set the row and then replace the \033[2;1H sequence with \033[${row};1H while read -r line ; do echo "\033[

Re: Possible to have fixed output positions for multiple commands

2025-01-24 Thread Glen Huang
I was not familiar with escape sequences. This works like a charm. Thanks William. On Sat, Jan 25, 2025 at 2:57 AM William Bader wrote: > > The sequence below will write each line to row 2 of the screen. > If you can arrange the output of your commands to start with a prefix, you > could parse