[Toybox] The "var=value function" shell issue.
Rob Landley
rob at landley.net
Mon Jun 10 13:49:38 PDT 2019
On 6/10/19 11:20 AM, enh wrote:
> On Mon, Jun 10, 2019 at 9:17 AM enh <enh at google.com> wrote:
>>
>> chet ramey replied
>> (https://www.mail-archive.com/austin-group-l@opengroup.org/msg04071.html)
>> that this has actually been changed to "undefined" in the
>
> [grr, stupid gmail --- why is there even a keyboard shortcut for send,
> and why is it one that's so easy to hit by accident?!]
>
> ...current published version of POSIX. (pro tip: always search
> "opengroup 2018" to try to get the _current_ one. pagerank seems to do
> a bad job with POSIX otherwise.)
Ever since Jorg Schilling replied to my "Linux is using cpio all over the place,
it's in rpm and initramfs, could you undelete it already, also could you stop
trying to make pax happen and bring back tar" post with his usual Linux Is
Stupid Because It's Not Solaris And You Are Stupid For Linuxing Solaris Solaris
Solaris, and then the rest of the posix committee bowed to his seniority, I've
been waiting for him to die before engaging with them again.
That's why I'm still using the 2013 release of Posix 2008, I haven't updated my
snapshot of posix stuff since it got Jorged. I'd reconsider if they had an
actual release, but they stopped doing that. (Posix 2001-2008 was 7 years, it's
been 11 and they're still on issue 7 I.E. SUSv4.) If they don't bother having
releases since IEEE Std 1003.1-2008 the changes can't be that important.
(I keep deleting replies with the phrase "I'm waiting for Jorg Schilling to die
before caring about the Posix committee again", but it's true. They are not
relevant as long the guy who got cdrecord thrown out of debian is driving.)
https://yarchive.net/comp/linux/scsi_ids.html
> he also says that he wants to make [what we all think is the right
> behavior] the default in POSIX mode in future versions of bash too.
Cool.
Today I'm trying to work out the right way to get the plumbing I'm writing to
handle line continuation prompts for multiline commands that aren't obvious in
the first pass, ala:
$ if thingy
> then echo hello
> fi
bash: thingy: command not found
(I think commands that need additional lines need to be recognized in
do_command(), not from the command callbacks like exit and cd, which means that
flow control needs its own layer and can't be handled as commands. Not
surprising, just fiddly...)
Rob
More information about the Toybox
mailing list