#!/bin/sh while read URL;do printf "%s" "$URL" | cuturl "$1" | grep "$2" >/dev/null && echo $URL done