파일이있어서 단어별로 정렬하고 특수 문자를 제거하고 싶습니다. grep 명령은 문자유닉스에서 grep 명령 사용
-b Display the block number at the beginning of each line.
-c Display the number of matched lines.
-h Display the matched lines, but do not display the filenames.
-i Ignore case sensitivity.
-l Display the filenames, but do not display the matched lines.
-n Display the matched lines and their line numbers.
-s Silent mode.
-v Display all lines that do NOT match.
-w Match whole word
하지만 file sort
및 remove the special character
과 번호를 수행 할 grep 명령을 사용하는 방법 를 검색하는 데 사용됩니다.
이것은 이해할 수있는 질문부터 먼 길이라고 생각합니다. – NPE
sort 명령은이를 정렬하여 grep 또는 sed로 파이프하고 정규 표현식을 사용하여 문자를 제거합니다. –
'단어를 따라 정렬'및 '특수 문자' –