1 2 3
#!/bin/sh # Has "$1", not in the "$2"th position cat - | grep "$1" | grep -v "$(echo "12345" | tr "$2" "$1" | tr [:digit:] .)"