Sam Liddicott <s...@liddicott.com> writes:
>         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.
>
>         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.

Ugh!  Because of course, the bash manual does not specify that a here
document input will be a file, just that it will be an FD from which the
text can be read.

Dale

Reply via email to