If I run a simple bash script notification, for example
how can I be sure there won't be a clash between two scripts on the same channel?Code:exec 4> >(zenity --notification --listen)
Obviously, I could number each script uniquely but then I've got to keep a tab on that number.
So exec 3> or exec 4> etc.
Is there an option to assign the number of the next available channel to a local variable for that script?
Bookmarks