Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Martijn Dekker Newsgroups: gnu.bash.bug Subject: Re: [PATCH] allow process substitution in POSIX mode Date: Sun, 8 Dec 2019 10:55:10 +0100 Lines: 25 Approved: bug-bash@gnu.org Message-ID: References: <51aadcec-1e21-32e9-d43f-5b84696de302@inlv.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1575798925 7599 209.51.188.17 (8 Dec 2019 09:55:25 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 In-Reply-To: Content-Language: en-GB X-MIME-Autoconverted: from 8bit to quoted-printable by kahlil.inlv.org id xB89tAZR021184 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 37.59.109.123 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <51aadcec-1e21-32e9-d43f-5b84696de302@inlv.org> X-Mailman-Original-References: Xref: csiph.com gnu.bash.bug:15707 Op 08-12-19 om 10:29 schreef O=C4=9Fuz: > 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 is already a good shell that does this: yash=20 . Its POSIX mode is deliberately strict and=20 restrictive and does not allow any non-portable functionality, so it's a=20 really good compatibility testing tool. Then there are also shells that simply don't implement much more than=20 POSIX, such as dash. They're useful for that as well. So I don't think bash needs to fulfill that function. Bash's POSIX mode=20 has always been simply a way to run POSIX scripts, with or without=20 mixing them with bash scripts. - M. --=20 modernish -- harness the shell https://github.com/modernish/modernish