Tôi có một lệnh xử lý trước để xuất một tập tin
./preprocess.sh > preprocessed_file
và preprocessed_file
sẽ được sử dụng như thế này
while read line
do
./research.sh $line &
done < preprocessed_file
rm -f preprocessed_file
Có cách nào để hướng đầu ra đến while read line
phần thay vì xuất ra tiền xử lý_file không? Tôi nghĩ nên có một cách tốt hơn ngoài việc sử dụng temp này preprocessed_file
.