[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: case $var in $list) issue
From: |
#!microsuxx |
Subject: |
Re: case $var in $list) issue |
Date: |
Fri, 1 Nov 2024 19:11:17 +0100 |
so
key=' $( '
in @( u cant @( $( )
u need escape
@(${key@Q})
and that with multi items joined by IFS |
but the echo _that_ , is fucked
On Fri, Nov 1, 2024, 19:04 Zachary Santer <zsanter@gmail.com> wrote:
> On Fri, Nov 1, 2024 at 1:30 PM #!microsuxx <fxmbsw7@gmail.com> wrote:
> >
> > the idea of the ext match
> > is ${var@Q} produces escaped strings
> > putting those into @( .. ) , and parsing later , seems normal
>
> Oh, I couldn't figure out what you were trying to do there. Which is
> kind of the point. Readability matters.
>
- Re: case $var in $list) issue, (continued)
- Re: case $var in $list) issue, Greg Wooledge, 2024/11/01
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue,
#!microsuxx <=
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, Greg Wooledge, 2024/11/01
- Re: case $var in $list) issue, #!microsuxx, 2024/11/01
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue, Greg Wooledge, 2024/11/01
- Re: case $var in $list) issue, Zachary Santer, 2024/11/01
- Re: case $var in $list) issue, Greg Wooledge, 2024/11/01
- Re: case $var in $list) issue, Chet Ramey, 2024/11/02