mirror of
https://github.com/AdaCore/gsh.git
synced 2026-02-12 12:27:10 -08:00
* read "-r" option (but currently ignored / no effects) * introduce "is_cmd_scope" in the shell_state structure. 'read' is not a "special built-in" as defined in POSIX 2.14 therefore its evaluation does not allow the behaviour of Special_Builtin_Matcher. However, if the eval of the command induces the creation of a scope, the variable created in this scope must nevertheless be available and visible in the previous scope. this needed to create a specific field in the shell_state structure to handle that case. Change-Id: I372b28348817371ee645987bc7fc54fb91423784