#!/bin/sh -e
#
#/ usage: `name` [<options>] <pattern>
#/
#/    run sed(1) on the contents of the pboard and put the result back
#/    on the pboard - all sed options and arguments are supported

# print help/usage with no pattern/args
test "$#" -eq 0 || test "$1" = "-h" || test "$1" = "--help" && {
  # cat "$0" | grep '^#/' | cut -c4-
  grep "^#/" "$0" | cut -c4-
  exit 0
}
