#!/bin/sh # Has "$1", not in the "$2"th position if test "$1" = "."; then cat - else cat - | grep "$1" | grep -v "$(echo "12345" | tr "$2" "$1" | tr [:digit:] .)" fi