On Tue, Jul 20, 2021 at 08:20:29PM +0200, lisa-asket@perso.be wrote:
> The multi-input is always enclosed within braces with no whitespaces.
> Thus "{5,8}", "{13,21}"
p=${input%,*} p=${p#\{}
q=${input#*,} q=${q%\}}
This still sounds like either an X-Y, or homework.