HTH,
Update
Note, also, that if invoked non-interactively e.g. by cron(1), the environment is very basic i.e. none of the login scripts will have been run, so it's always best to invoke them in the cron(1) command e.g. * * * * * . $HOME/profile ; some_cmd > /dev/null 2>&1
In reply to Re: Checking for STDIN
by Bloodnok
in thread Checking for STDIN
by dbmathis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |