Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net> wrote:
Stan> >Or is there any easy way to create unique file name
Stan> >and refer it in same recipe?
Stan>
Stan> The process-id in $$ is unique *while you're running*. You ought to
Stan> be able to construct a unique filename from the date and time
Stan> in the "From " pseudo-header, combined with $$. To refer to it
Stan> in the same recipe, just construct the name in a variable first.
I got same suggestion from another person through private mail to use:
file=`date "+%Y%m%d.%H%M%S.$$"`
I think this method is great!
Thanks anyway.
P.S. Thanks also to era eriksson for valuable information.
_/_/_/ Mitsuru FURUKAWA _/_/_/
_/_/_/ Tokyo, Japan _/_/_/
_/_/_/ mailto:furu(_at_)009(_dot_)com _/_/_/
_/_/_/ http://www.009.com/furu/ _/_/_/