7 Nisan 2023 Cuma tarihinde Robert Elz via austin-group-l at The Open Group
<austin-group-l@opengroup.org> yazdı:

> My guess (no more than that) is that sometimes it is easier to
> give in to the desires of the masses rather than maintain the
> correct approach.
>
> To people who don't understand sh syntax,
>
>         a=1 b=2 c=3
>
> kind of looks like 3 commands that should be executed in order
> as written, just like
>
>         a=1
>         b=2
>         c=3
>
> would be.
>

Yeah.

    a=${b#prefix} a=${a%suffix}

is common enough a pattern to consider despite having no benefit other than
looking organized. Most shells interpret it the way average user would
expect too


-- 
Oğuz

Reply via email to