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 15:14:44 -0600

Hi Eli,

> Instead of doing successive, full passes as you replace each token, your
> program e.g. /usr/bin/pengus-whitespace-only-printf might want to read
> in the string character by character, detect whichever replacement token
> might be there, replace it, and move on. This would retain progress
> state, and therefore avoid processing the same tokens twice.

That is exactly a solution that I sent in a follow-up email. I clearly
defined what I meant by string escaping in the first email. Knowing
there is not a simpler but robust solution than my implementation is
totally fine. I want to confirm the answer is indeed "No".

-- 
Regards,
Peng



reply via email to

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