리눅스 문자열 길이순 정렬

Jmnote (토론 | 기여)님의 2020년 3월 31일 (화) 17:52 판 (새 문서: ==개요== ;리눅스 문자열 길이순 정렬 <source lang='console'> $ awk '{ print length(), $0 | "sort -n" }' /usr/share/dict/words ... 29 cyclotrimethylenetrinitramine 29 tri...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

리눅스 문자열 길이순 정렬
$ awk '{ print length(), $0 | "sort -n" }'  /usr/share/dict/words
...
29 cyclotrimethylenetrinitramine
29 trinitrophenylmethylnitramine
30 half-embracinghalf-embracingly
31 dichlorodiphenyltrichloroethane
45 pneumonoultramicroscopicsilicovolcanoconiosis


2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}