#!/bin/sh
#
# regex-orjoin - prints a regular expression, joining lines from stdin with OR's

sed 's/[[:punct:]]/\\&/; s/$/|/; $s/.$//' | tr -d '\n'
