On 2/14/25 1:28 PM, Emanuele Torre wrote:
The function serialisation code thinks that 1 is the default file
descriptor for <> redirections, when it is actually 0.
Thanks for the report and fix.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita br
The function serialisation code thinks that 1 is the default file
descriptor for <> redirections, when it is actually 0.
BEFORE
$ a () { <> f ;}; declare -f a
a ()
{
0<> f
}
$ a () { 1<> f ;}; declare -f a
a ()
{
<> f
}
AFTER
$ a () { <> f ;}; d