Notice
Recent Posts
Recent Comments
목록2017/05/18 (1)
준호씨의 블로그
How to subtract two files using grep
fileA a b c 10 20 30 fileB b c d 30 fileA - fileB $ grep -F -x -v -f fileB fileA 1 10 20 shorter way $ grep -Fxvf fileB fileA 1 10 20 man grep ... -F, --fixed-strings Interpret pattern as a set of fixed strings (i.e. force grep to behave as fgrep). -f file, --file=file Read one or more newline separated patterns from file. Empty pattern lines match every input line. Newlines are not considered p..
개발이야기
2017. 5. 18. 21:16