According to https://stackoverflow.com/questions/945302/, one can check for
the presence of an interactive KornShell using:

  [[ $- == *i* ]] && echo interactive || echo not interactive

Francois

-- 
https://fmarier.org/

Reply via email to