#!/bin/bash # Remove all occurrences of the strings "BEGIN;" and "END;" from the # input stream. As of Postgis v1.4.0, shp2pgsql inserts them once for # every 250 "INSERT" statements. sed s/"BEGIN;"//g | sed s/"END;"//g