#!/bin/bash # this requires sqlite3-pcre DB=/home/themusicgod1/TDL/urls.db sqlite3 $DB -line "select id, lower(url) from news WHERE url like \""$1"\" and url REGEXP '(.*[A-Z].*)' ;";