SC2148 complains when I don't specify the target shell in one of a few ways, as it is intended to.
I am writing some scripts that I intend to work across every shell, or at least every shell I can manage. I'd like either a new command line option or a name for a fake shell that will cause shellcheck to tell me if there's any code in my script that would be an error in any shell.
SC2148 complains when I don't specify the target shell in one of a few ways, as it is intended to.
I am writing some scripts that I intend to work across every shell, or at least every shell I can manage. I'd like either a new command line option or a name for a fake shell that will cause shellcheck to tell me if there's any code in my script that would be an error in any shell.