There have been other posts regarding this problem, but none answer my question.The other posts mention adding quotes, but that leads to an EOF while matchign error. I am writing a bash script that contains the following line, but when I execute, I get an error message which reads "Ambiguous redirect." Why?
done < $(cat $textfile1 $textfile2) >> $outputfile