I've never used bash before, but am creating a file. Here's the skelton:
while read line; do if [ -e "$line" ] then else cat > $name << EOF EOF cat > rails << EOF EOF fi command $name & done < projects.txt
The error is: "line 55: syntax error: unexpected end of file", where naturally line 55 is that last line.
Are the two last lines correct? I'm from a php, ruby background, and should while and do have to do ending 'tags' as such??