假设我有一个bash功能
原文链接:https://www.f2er.com/bash/383786.htmlYadda() { # time-consuming processes that must take place sequentially # the result will be appended >> $OUTFILE # $OUTFILE is set by the main body of the script # No manipulation of variables in the main body # Only local-ly defined variables are manipulated }@H_502_2@OUTFILE=~/result for PARM in $PARAMLIST; do ( Yadda $PARM ) & done wait cat $OUTFILE@H_502_2@你怎么看?