#!/bin/sh
#
# $Header: /usr/local/cvsroot/pgsql/src/bin/ipcclean/ipcclean.sh,v 1.2 1998/08/22 05:19:31 momjian Exp $
#
PATH=:$PATH
export PATH
ipcs | egrep '^m .*|^s .*' | egrep "`whoami`|postgres" | \
awk '{printf "ipcrm -%s %s\n", $1, $2}' '-' | sh
