find랑 wc랑 엮어서 쓰는법.


find . -type f \( -name '*.c' -or -name '*.h' -or -name '*.cpp' \) -exec wc -l '{}' \; > file_lines


+ Recent posts