#!/bin/sh # hwrap -- wrap in tag l= while getopts l: o; do case $o in l) l=$OPTARG ;; ?) echo usage: $0 [-l LANG] 1>&2; exit 1 ;; esac done shift $((OPTIND-1)) if test -z "$l" then echo '' else echo "" fi cat echo ''