14 lines
241 B
Text
14 lines
241 B
Text
|
#!/bin/sh -e
|
||
|
if [ -z "$1" ]; then
|
||
|
exit 1;
|
||
|
fi
|
||
|
infile=`echo "$1" | sed 's/^@//'`
|
||
|
for i in `cat "$infile"`; do
|
||
|
i=`echo "$i" | fgrep -- "-O:" | awk -F: '{print $2}'`
|
||
|
if [ ! -z "$i" ]; then
|
||
|
echo "#" > "$i"
|
||
|
exit 0;
|
||
|
fi;
|
||
|
done
|
||
|
exit 1
|