Would you say that industries with heavy network effects tend towards monopolies, while those without tend to produce more competition?
cc -fPIC -o $sofile -shared -x c - <<'EOF'
...
EOF while read line; do
echo $line>>$cfile
done
Okay, I know this is a joke and all, but that's the exact wrong way to do it. What you want to do is just cat > $cfile