Stdin

Table of contents

  1. get @stdin

get @stdin

Returns 1 if STDIN has not been redirected, or 0 otherwise.

echo stdin is not redirected: !@stdin!