[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: es version of man
i'd like to thank Eric for his contribution to the list, but want to point
out a minor glitch, which is that the %is-interactive cannot be used to
test whether the shell script is being run interactively---if called from
a shell script, it will always return false. %is-interactive tests whether
the current interpreter context is interactive; that is, was the current
shell invoked with -i or is it interpreting stdin from a terminal?
(in fact, the test is better described as, is the shell executing out of
%interactive-loop rather than %batch-loop?)
paul