bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

$IGNOREEOF always modified by `local -'


From: Grisha Levit
Subject: $IGNOREEOF always modified by `local -'
Date: Fri, 24 Jul 2020 02:25:31 -0400

Having IGNOREEOF defined prior to invoking a function that uses `local -'
causes IGNOREEOF to be set to `10' after the function returns.

    $ IGNOREEOF=0; f() { local -; }; f; echo $IGNOREEOF
    10



reply via email to

[Prev in Thread] Current Thread [Next in Thread]