|
From: | Matheus Afonso Martins Moreira |
Subject: | Re: [PATCH v2 5/8] builtins/source: parse the -i option |
Date: | Wed, 15 May 2024 00:06:05 +0000 |
> It has been Bash's convention to allow a non-POSIX feature > even in POSIX mode when the script explicitly requests it. I see. I have no objections to that. My initial implementation also worked like this. I did it that way because someone explicitly requested that POSIX mode not be affected in any way and this would theoretically stop the user from sourcing a file named `-i`. If that's not a problem then there's no reason not to recognize the option even in POSIX mode. I'll make it so in the v3 patch set. -- Matheus
[Prev in Thread] | Current Thread | [Next in Thread] |