[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Splitting variable into two numbers

**From**: |
Greg Wooledge |

**Subject**: |
Re: Splitting variable into two numbers |

**Date**: |
Tue, 20 Jul 2021 14:26:32 -0400 |

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.

**Splitting variable into two numbers**, *lisa-asket*, `2021/07/20`
**Re: Splitting variable into two numbers**, *Leonid Isaev (ifax)*, `2021/07/20`
**Re: Splitting variable into two numbers**, *Greg Wooledge*, `2021/07/20`
**Splitting variable into two numbers**, *lisa-asket*, `2021/07/20`
**Re: Splitting variable into two numbers**,
*Greg Wooledge* **<=**
**Splitting variable into two numbers**, *lisa-asket*, `2021/07/20`
**Re: Splitting variable into two numbers**, *Greg Wooledge*, `2021/07/20`
**Splitting variable into two numbers**, *lisa-asket*, `2021/07/20`
**Re: Splitting variable into two numbers**, *Greg Wooledge*, `2021/07/20`
**Re: Splitting variable into two numbers**, *ikhxcsz7y xmbott*, `2021/07/21`

**Re: Splitting variable into two numbers**, *Chris F.A. Johnson*, `2021/07/20`