#!/bin/bash sqlite3 test.db '.load ../regexp' \ 'select count(*) from corpus where line regexp "([0-9])([0-9])([0-9])([0-9])-([0-9])([0-9])-([0-9])([0-9])"'