shell

while read a를 이용한 화면출력 및 저장 및 파일 만들기

Ray+hue 2015. 10. 14. 06:45

cat test2.sh | while read a ; do echo "${a}"; echo "${a}" >> logfile.txt; done

ls * | while read a; do cat $a; done