tapczan wrote:
> #!/bin/bash
> echo $-
> 
> Execution:
> 
> # ./a.sh
> hB
> 
> There is no 'i' so the session is non-interactive?
> It was invoked from interactive.
> Am I missing something?

Shell scripts are not interactive.  So what you are seeing above is
correct.

Bob

Reply via email to