use of wildcard in filenames?

Hi,

Is it possible to use wildcards to specify filenames in mothur batch commands? For example, after doing :

sub.sample(shared=current,size=8000)

how can I use a wildcard to specify the output file of subsampling, as input to the filter command? For example:

filter.shared(shared=*.subsample.shared,minpercent=1)


thanks!

That won’t work. But look at Pat’s suggestion here
http://mothur.ltcmp.net/t/parameter-expansion-into-batch/3177/1