Re: Syntax error with "command . file" (was: [1003.1(2016/18)/Issue7+TC2 0001629]: Shell vs. read(2) errors on the script)

2023-03-14 Thread Harald van Dijk via austin-group-l at The Open Group
On 15/03/2023 00:17, Chet Ramey wrote: On 3/14/23 4:58 PM, Harald van Dijk wrote: On 14/03/2023 20:41, Chet Ramey wrote: On 3/12/23 10:19 PM, Harald van Dijk via austin-group-l at The Open Group wrote: bash appears to disables the reading of .profile in POSIX mode entirely. This isn't

Re: Syntax error with "command . file" (was: [1003.1(2016/18)/Issue7+TC2 0001629]: Shell vs. read(2) errors on the script)

2023-03-14 Thread Chet Ramey via austin-group-l at The Open Group
On 3/14/23 4:58 PM, Harald van Dijk wrote: On 14/03/2023 20:41, Chet Ramey wrote: On 3/12/23 10:19 PM, Harald van Dijk via austin-group-l at The Open Group wrote: bash appears to disables the reading of .profile in POSIX mode entirely. This isn't quite correct. By default, a login shell

Re: Syntax error with "command . file" (was: [1003.1(2016/18)/Issue7+TC2 0001629]: Shell vs. read(2) errors on the script)

2023-03-14 Thread Harald van Dijk via austin-group-l at The Open Group
On 14/03/2023 20:41, Chet Ramey wrote: On 3/12/23 10:19 PM, Harald van Dijk via austin-group-l at The Open Group wrote: bash appears to disables the reading of .profile in POSIX mode entirely. This isn't quite correct. By default, a login shell named `sh' or `-sh' reads /etc/profile and

Re: Syntax error with "command . file" (was: [1003.1(2016/18)/Issue7+TC2 0001629]: Shell vs. read(2) errors on the script)

2023-03-14 Thread Chet Ramey via austin-group-l at The Open Group
On 3/12/23 10:19 PM, Harald van Dijk via austin-group-l at The Open Group wrote: bash appears to disables the reading of .profile in POSIX mode entirely. This isn't quite correct. By default, a login shell named `sh' or `-sh' reads /etc/profile and ~/.profile. You can compile bash for

Re: PDF index^WToC issue

2023-03-14 Thread Geoff Clare via austin-group-l at The Open Group
Thorsten Glaser wrote, on 14 Mar 2023: > > I was finally able to obtain 202x_d2.1.pdf (waiting helped), and I found > the index rather lacking. > > Volume 2 chapter 3 and volume 3 chapter 3 comprise thousands of > individual pages; these should be expanded in the index (so one > can find e.g.

Re: [1003.1(2016/18)/Issue7+TC2 0001640]: The rationale given for retaining "true" is nonsense.

2023-03-14 Thread Robert Elz via austin-group-l at The Open Group
Date:Tue, 14 Mar 2023 10:31:52 + From:"Geoff Clare via austin-group-l at The Open Group" Message-ID: | I think this and some other differences between ":" and "true" are | worth mentioning in the standard. I don't think that would do any harm, or is

Re: [1003.1(2016/18)/Issue7+TC2 0001640]: The rationale given for retaining "true" is nonsense.

2023-03-14 Thread Geoff Clare via austin-group-l at The Open Group
Stephane Chazelas wrote, on 12 Mar 2023: > > true "$var" > > is not POSIX and *in practice not portable* as at least one > implementation (GNU) doesn't ignore its arguments (and > toybox/busybox don't ignore argv[0]), so true can't be used in > place of : for things like: > > :

PDF index^WToC issue

2023-03-14 Thread Thorsten Glaser via austin-group-l at The Open Group
Hi, I was finally able to obtain 202x_d2.1.pdf (waiting helped), and I found the index rather lacking. Volume 2 chapter 3 and volume 3 chapter 3 comprise thousands of individual pages; these should be expanded in the index (so one can find e.g. printf without resorting to the Index at the end.