rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

rpscan (221B)


      1 #!/bin/sh
      2 
      3 TMPL="$(rppath -b)/tmpl/scan.sh"
      4 
      5 if [ -t 1 -a -x "$TMPL" ];
      6 then
      7 	if [ -n "$PAGER" ];
      8 	then
      9 		rohrpost rpscan "$@" | $TMPL | eval $PAGER
     10 	else
     11 		rohrpost rpscan "$@" | $TMPL
     12 	fi
     13 else
     14 	rohrpost rpscan "$@"
     15 fi
     16