I have a for loop I'd like to run in bash like:
for i in user_* do; cat $i | ./fetch_contact.php ; done;
Always gives an error like
-bash: syntax error near unexpected token `done'
I assume it has something to do with the pipe, but nothing I try to add in (parenthesis, etc) wrap the pipe sufficiently. How do you use a pipe in a command like this?