rohrpost

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

commit 44508eab27f021534ff93563033eb4470d679ada
parent a0a537336009f27ac86f9654581186de3d338f2b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 22 Jan 2012 19:01:43 +0100

Change some inconsistencies in naming.

Diffstat:
bin/rpdownload | 21+++++++++++++++++++++
bin/rpflagu | 4++++
bin/rppopu | 4++++
bin/rpscanu | 4++++
bin/rpscanup | 4++++
bin/rpudownload | 21---------------------
bin/rpuflag | 4----
bin/rpupop | 4----
bin/rpuscan | 4----
bin/rpuscanp | 4----
bin/rpuview | 4----
bin/rpuviewp | 4----
bin/rpviewu | 4++++
bin/rpviewup | 4++++
14 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/bin/rpdownload b/bin/rpdownload @@ -0,0 +1,21 @@ +#!/bin/sh + +downloader="wget -c" +downloaddir="$HOME/Downloads" + +if [ $# -lt 2 ]; +then + echo "usage: `basename $0` msgid" + exit 1 +fi + +msgid="$*" + +url=`rpview $msgid | awk '/URL:/ {print $2}' | tr -d '\r'` +cd $downloaddir +for i in $url +do + echo $i + $downloader "$i" +done + diff --git a/bin/rpflagu b/bin/rpflagu @@ -0,0 +1,4 @@ +#!/bin/sh + +rpflag -s "seen" unseen + diff --git a/bin/rppopu b/bin/rppopu @@ -0,0 +1,4 @@ +#!/bin/sh + +rppop unseen + diff --git a/bin/rpscanu b/bin/rpscanu @@ -0,0 +1,4 @@ +#!/bin/sh + +rpfscan unseen + diff --git a/bin/rpscanup b/bin/rpscanup @@ -0,0 +1,4 @@ +#!/bin/sh + +rpuscan "$@" | eval $PAGER + diff --git a/bin/rpudownload b/bin/rpudownload @@ -1,21 +0,0 @@ -#!/bin/sh - -downloader="wget -c" -downloaddir="$HOME/Downloads" - -if [ $# -lt 2 ]; -then - echo "usage: `basename $0` msgid" - exit 1 -fi - -msgid="$*" - -url=`rpview $msgid | awk '/URL:/ {print $2}' | tr -d '\r'` -cd $downloaddir -for i in $url -do - echo $i - $downloader "$i" -done - diff --git a/bin/rpuflag b/bin/rpuflag @@ -1,4 +0,0 @@ -#!/bin/sh - -rpflag -s "seen" unseen - diff --git a/bin/rpupop b/bin/rpupop @@ -1,4 +0,0 @@ -#!/bin/sh - -rppop unseen - diff --git a/bin/rpuscan b/bin/rpuscan @@ -1,4 +0,0 @@ -#!/bin/sh - -rpfscan unseen - diff --git a/bin/rpuscanp b/bin/rpuscanp @@ -1,4 +0,0 @@ -#!/bin/sh - -rpuscan "$@" | eval $PAGER - diff --git a/bin/rpuview b/bin/rpuview @@ -1,4 +0,0 @@ -#!/bin/sh - -rpfview "$@" unseen - diff --git a/bin/rpuviewp b/bin/rpuviewp @@ -1,4 +0,0 @@ -#!/bin/sh - -rpuview "$@" | eval $PAGER - diff --git a/bin/rpviewu b/bin/rpviewu @@ -0,0 +1,4 @@ +#!/bin/sh + +rpfview "$@" unseen + diff --git a/bin/rpviewup b/bin/rpviewup @@ -0,0 +1,4 @@ +#!/bin/sh + +rpuview "$@" | eval $PAGER +