office-gobmx/solenv/bin/makedepn
Jens-Heiner Rechtien 22c7f3f170 initial import
2000-09-20 13:43:26 +00:00

13 lines
241 B
Bash
Executable file

#!/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