Hi Marco, You need to escape the underline character by adding a backslash or just replace it by another one:
meep s=$y r=$x script.ctl | tee out\_s$y\_r$x.out Regards. David. > Hello everyone, > > I would like to call MEEP with all combinations of a higher-dimensional > array but apparently I'm doing something wrong; > here is a 2D example: > > for x in `seq 1 0.1 1.5` > do > for y in `seq 0.5 0.1 1.5` > do > meep s=$y r=$x script.ctl | tee out_s$y_r$x.out > done > done; > > > as you can see, I intend to save the output from each run with a filename > containing the relative parameters of the call, but it only considers part > of the filename, producing as first output only > > out_s0.5.out > > Can anyone shed some light on this? Thank you very much in advance > > > ------------------------------ > > _______________________________________________ > meep-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss > > End of meep-discuss Digest, Vol 56, Issue 23 > ******************************************** >
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

