Re: [PATCH] allow process substitution in POSIX mode

2019-12-10 Thread Chet Ramey
On 12/8/19 4:29 AM, Oğuz wrote: I think otherwise. In POSIX mode Bash should at least print warnings about features POSIX lets implementations provide but doesn't mandate, like function, select, [[, etc. This is not, and never has been, the purpose of bash's POSIX mode. If you want this, there

Re: [PATCH] allow process substitution in POSIX mode

2019-12-08 Thread Martijn Dekker
Op 08-12-19 om 10:29 schreef Oğuz: I think otherwise. In POSIX mode Bash should at least print warnings about features POSIX lets implementations provide but doesn't mandate, like function, select, [[, etc. That would be a far bigger change than just allowing process substitution. Also, there

Re: [PATCH] allow process substitution in POSIX mode

2019-12-08 Thread Oğuz
I think otherwise. In POSIX mode Bash should at least print warnings about features POSIX lets implementations provide but doesn't mandate, like function, select, [[, etc. -- Oğuz

[PATCH] allow process substitution in POSIX mode

2019-12-07 Thread Martijn Dekker
Process substitution is disabled in POSIX mode. A 'git blame' on parse.y suggests that this has been the case since bash prehistory. To me, this seems: - Inconsistent. Other bash extensions are not disabled when POSIX mode is active; as far as I can tell, this is the only one. - Unnecessary.