[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string escaping in bash
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: string escaping in bash |
Date: |
Fri, 12 Mar 2021 20:05:51 +0100 |
well make tests, or make test input and i test em on my solution you on
yours
for me a chained list of long commands like you showed is ultra too slow
recently i just began to chain = assignments, for speed, very good
i also soon substitude declare -p content to different declare content to
be set
On Fri, Mar 12, 2021 at 8:04 PM Peng Yu <pengyu.ut@gmail.com> wrote:
> I don't want to make that assumption. I want to make sure the code is
> robust against all possible input. That is the point of this question.
>
> On 3/12/21, Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
> > you can replace it for a non existant string, one or more letters
> >
> > On Fri, Mar 12, 2021 at 8:01 PM Peng Yu <pengyu.ut@gmail.com> wrote:
> >
> >> > however i think the chained stuff may work perfectly
> >>
> >> Your solution uses a special character $'\1', it will not be robust
> >> against input with that character.
> >>
> >> --
> >> Regards,
> >> Peng
> >>
> >
>
>
> --
> Regards,
> Peng
>
- string escaping in bash, Peng Yu, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Peng Yu, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Peng Yu, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Peng Yu, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Peng Yu, 2021/03/12
- Re: string escaping in bash,
Alex fxmbsw7 Ratchev <=
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Lawrence Velázquez, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Lawrence Velázquez, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12
- Re: string escaping in bash, Alex fxmbsw7 Ratchev, 2021/03/12