I want to check the difference of two file list
one is ls | cut -c 1-4 another is ls | cut -c 1-4 | uniq
does there exists any way can let me do like this diff (ls | cut -c 1-4) (ls | cut -c 1-4 | uniq) or anyway can let me without saving the two list command into files then check the difference of it ..
thanks
diff <(ls | cut -c 1-4) <(ls | cut -c 1-4 | uniq).