본문 바로가기
Computer Engineering/Tip

[Linux] 파일에서 인쇄 불가능 문자 지우기

by 임은천 2015. 7. 20.

출처는 alvinalexander.comunix.com이다.


tr -cd '\11\12\15\40-\176' < file-with-binary-chars > clean-file


tr -dc '[:print:]'  < file-with-binary_chars > clean-file


댓글