#!/bin/sh set -e if [ -z "$1" ] || [ -z "$2" ] then echo "Usage: $0 [path] [title]" >/dev/stderr exit 1 fi cat < $2 Redirecting to $1... EOF