daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. #/ Usage: newmsg /path/to/Maildir
  3. test -z "$1" && grep '^#/' <"$0" | cut -c4- >&2 && exit 2
  4. test "$1" && ls | tail -n1 | xargs -I {} egrep "^(From|Subject):" "{}" | cut -d ' ' -f2-
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top