citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

notmuch-show-pretty (163B)


      1 #!/usr/bin/env sh
      2 
      3 script=$(cat <<EOS
      4 s//\n/g;
      5 /^[[:space:]]*(part|header|body|message)}$/d;
      6 /^[[:space:]]*(part|header|body)\{.*$/d
      7 EOS
      8 )
      9 
     10 exec sed -E "$script"