help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string escaping in bash


From: Peng Yu
Subject: Re: string escaping in bash
Date: Fri, 12 Mar 2021 13:04:31 -0600

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]