On 4/22/22 9:51 AM, Sam Liddicott wrote:
Bash Version: 5.1
Patch Level: 16
Release Status: release
Description:
Listed in the changes:
c. Here documents and here strings now use pipes for the expanded
document if it's smaller than the pipe buffer size, reverting
to temporary files if it's larger.
OK. Keep in mind this is already 18 months old, and that bash-5.2 is in
beta.
This causes problems with many programs suffering from the TOCTOU
bug of checking whether or not the input is actually a file
instead of just using it as one.
This seems like something that is perfectly suited for compatibility mode.
The shell options aren't intended to expose internal implementation
choices.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/