1*cdf0e10cSrcweir#!/bin/sh -e 2*cdf0e10cSrcweirif [ -z "$1" ]; then 3*cdf0e10cSrcweir exit 1; 4*cdf0e10cSrcweirfi 5*cdf0e10cSrcweirinfile=`echo "$1" | sed 's/^@//'` 6*cdf0e10cSrcweirfor i in `cat "$infile"`; do 7*cdf0e10cSrcweir i=`echo "$i" | fgrep -- "-O:" | awk -F: '{print $2}'` 8*cdf0e10cSrcweir if [ ! -z "$i" ]; then 9*cdf0e10cSrcweir echo "#" > "$i" 10*cdf0e10cSrcweir exit 0; 11*cdf0e10cSrcweir fi; 12*cdf0e10cSrcweirdone 13*cdf0e10cSrcweirexit 1 14