Skip to content

Instantly share code, notes, and snippets.

@np
Forked from kowey/gist:202581
Created October 6, 2009 11:59
Show Gist options
  • Save np/202950 to your computer and use it in GitHub Desktop.
Save np/202950 to your computer and use it in GitHub Desktop.
#!/bin/bash
MSGID=$(grep 'Message-Id' | head -n 1 | sed 's/Message-Id: /:/')
hsgtd add "$@" "$MSGID"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment