2 番目の単語/アルファベットを変更すると sort コマンドの出力結果が異なる理由
Issue
- root として以下を実行します。
[root@] ~$ cat /tmp/test
X m
XEL m
XOM m
[root@] ~$ sort /tmp/test
X m
XEL m
XOM m
[root@ ~]# sort /tmp/test
XEL m
X m
XOM m
- m を e に変更すると以下のようになります。
[root@ ~]# sort /tmp/test
X e
XEL e
XOM e
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
