Skip to content

Instantly share code, notes, and snippets.

@mschmitt
Created September 9, 2013 17:16
Show Gist options
  • Save mschmitt/6498703 to your computer and use it in GitHub Desktop.
Save mschmitt/6498703 to your computer and use it in GitHub Desktop.
Merge continuation lines in mail header
perl -ne'/^$/&&last;$d.=$_;END{$d=~s/\n\s+/ /g;print $d;}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment