help-bash
[Top][All Lists]
Advanced

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

Re: `printf %q` but more human readable


From: Alex fxmbsw7 Ratchev
Subject: Re: `printf %q` but more human readable
Date: Sun, 14 Mar 2021 16:36:29 +0100

i see, well formed words
in this case i'd simplify, code on purpose
i still dont know 1 of your cases so cant continue, a code formatizer is
out of my scope

On Sun, Mar 14, 2021 at 4:33 PM Peng Yu <pengyu.ut@gmail.com> wrote:

> On Sun, Mar 14, 2021 at 9:52 AM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
> wrote:
> >
> > sounds to me like a [too] big thing to code
> > a tokenizer to internal codes then to output format
>
> It is a balance of code complexity and the corner cases that it
> covers. At least, I have a bash implementation that covers some common
> cases. So the question is, if not all cases can be covered perfectly
> in bash, what are other common cases that should be covered and how to
> cover them without introducing too much code complexity and slowing
> down the code for common cases too much.
>
> --
> Regards,
> Peng
>


reply via email to

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