help-bash
[Top][All Lists]
Advanced

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

Re: Help fixing NativeMessaging host: read 32-bit message length in nati


From: Lawrence Velázquez
Subject: Re: Help fixing NativeMessaging host: read 32-bit message length in native byte order
Date: Sat, 24 Jun 2023 21:10:18 -0400
User-agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33

On Sat, Jun 24, 2023, at 8:59 PM, Greg Wooledge wrote:
> Those assignments are equivalent in all POSIX shells.  The right hand
> side of a simple variable assignment is one of the places where quotes
> are optional.

Right.  An exception I had in mind was this bit of zsh tomfoolery...

        % touch a b c
        % foo=*
        % typeset -p foo
        typeset foo='*'
        % setopt GLOB_ASSIGN
        % foo=*
        % typeset -p foo
        typeset -a foo=( a b c )

...but of course that's not POSIX-conformant, and it requires
a nondefault option besides.

-- 
vq



reply via email to

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