#! /bin/sh echo "$(byobu ls|grep attached)"|sed 's/\([a-zA-Z0-9][a-zA-Z0-9]*\).*/\1/'
this is my script in
refresh time is 1 second.
This shows the session name as the custom status,but it does so for all but 1 session.In place of showing the session name it shows ]0 for that session.
Is it some issue with the echo command ?