On Mon, 18 Jun 2012, Antonio Olivares wrote: > But I get error in line 16: > > $ ./mpost-eps webfig > ./mpost-eps: 16: Syntax error: word unexpected > > for file in file.* do Either put the "do" on the next line, or put a ; before it: for file in file.* ; do