Project

General

Profile

1 6113 aaronmk
#!/bin/sh
2
# Filters a PostgreSQL DB dump to remove security and schema-setting commands
3
# Usage: self {input...|<input} >translated
4
5 6588 aaronmk
grep -v -E '^(CREATE DATABASE|SET search_path|GRANT|REVOKE)' "$@"