dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

mailfmt (161B)


      1 #!/bin/sh
      2 
      3 w=$(tput cols)
      4 if [ -z "$w" ] || [ "$w" -gt 120 ] ; then
      5 	w=120
      6 fi
      7 
      8 # trim mutt [-- Attachment --] headers
      9 grep -vE -- '\[-- .* --\]$' | fmt -s -w $w