rohrpost

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

rpprev (133B)


      1 #!/bin/sh
      2 
      3 cur=$(rpcur)
      4 if [ $? -gt 0 ];
      5 then
      6 	rpcur 1
      7 	cur=1
      8 fi
      9 
     10 cur=$(($cur - 1))
     11 if [ $cur -lt 1 ];
     12 then
     13 	cur=1
     14 fi
     15 
     16 rpview $cur 
     17