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

rpenclosure (186B)


      1 #!/bin/sh
      2 
      3 if [ $# -lt 1 ];
      4 then
      5 	printf "usage. %s msgid\n" "$(basename $0)" 2>&1
      6 	exit 1
      7 fi
      8 
      9 msgid="$*"
     10 printf "%s\n" "$(rpview $msgid | awk '/^Enclosure:/ {print $2}' | tr -d '\r')"
     11