Hello Michael > It should work if you use just echo, as this is a shell builtin. > If that 'echo something' is an external command or a pipe you have > to use 'echo something || exit 1'. > How exactly does the script look like?
Here is the script: ------------------------------------------------------------------------ #!/bin/sh # Holt sich von fetchmail die Anzahl Mails und gibt diese aus. # # Author: Gerhard Siegesmund <[EMAIL PROTECTED]> FETCHMAIL='/usr/bin/fetchmail' while true; do $FETCHMAIL -c | sed -e 's/.* \([0-9]*\) messages (\([0-9]*\) seen.*/\1 - \2/g' | bc sleep 60 done ------------------------------------------------------------------------ Any suggestions? -- cu --== Jerri ==-- Homepage: http://www.jerri.de/ ICQ: 54160208 Public PGP Key: http://www.jerri.de/jerris_public_key.asc
signature.asc
Description: Digital signature
_______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users