Re: clarification needed: shell 'exec' + function (builtin, …) vs. 'env'

2020-12-09 Thread Thorsten Glaser
Joerg Schilling via austin-group-l at The Open Group dixit: >OK, mksh pdksh and posh have te same origin. >I don't know oksh, loksh oksh is basically where mksh took off, an intermediate, pdksh without its compatibility layer and with a small amount of bugfixes; loksh is a GNU/Linux port of

mail encoding not-fun (was Re: clarification needed: shell 'exec' + function (builtin, ???))

2020-12-09 Thread Thorsten Glaser
Steffen Nurpmeso via austin-group-l at The Open Group dixit: > |This is because m4.opengroup.org runs qmail, the arsehole under the MTAs, > |which auto-converted the mail from quoted-printable to 8bit, sending it > |as 8bit even to MTAs that don't offer 8BITMIME (I configured my sendmail > |not

Re: clarification needed: shell 'exec' + function (builtin, ???)

2020-12-09 Thread Steffen Nurpmeso
Hallo Jörg, Joerg Schilling wrote in <2020120933.yyo5w%sch...@schily.net>: |"shwaresyst via austin-group-l at The Open Group" wrote: ... |> Hi *, | |Hi, | |here is where the original mail ended for me. Interesting that you did get |more content. Is there any idea, why I received

Re: clarification needed: shell 'exec' + function (builtin, ???)

2020-12-09 Thread Steffen Nurpmeso
austin-grou...@opengroup.org wrote in : |Joerg Schilling via austin-group-l at The Open Group dixit: | |>here is where the original mail ended for me. Interesting that you did get | |This is because m4.opengroup.org runs qmail, the arsehole under the MTAs, |which auto-converted the mail

Re: clarification needed: shell 'exec' + function (builtin, ???)

2020-12-09 Thread Thorsten Glaser
Joerg Schilling via austin-group-l at The Open Group dixit: >here is where the original mail ended for me. Interesting that you did get This is because m4.opengroup.org runs qmail, the arsehole under the MTAs, which auto-converted the mail from quoted-printable to 8bit, sending it as 8bit even

clarification needed: shell 'exec' + function (builtin, …)

2020-12-09 Thread Thorsten Glaser
Hi *, I’ve got a report in IRC by a user who spotted a cross-shell difference. In my opinion, the invocation… sh -c 'ls() { echo meow; }; exec ls' … is supposed to output "meow\n and return to the caller with a zero errorlevel. Some shells execve() the ls(1) binary instead. In