]> gitweb.michael.orlitzky.com - dead/census-tools.git/blob - bin/filter-transactions
Moved the post_data() function in to its own static Javascript file.
[dead/census-tools.git] / bin / filter-transactions
1 #!/bin/bash
2
3 # Remove all occurrences of the strings "BEGIN;" and "END;" from the
4 # input stream. As of Postgis v1.4.0, shp2pgsql inserts them once for
5 # every 250 "INSERT" statements.
6
7 sed s/"BEGIN;"//g |
8 sed s/"END;"//g