120,000 行以上の結果を出力するコマンドで環境変数を設定すると ksh シェルがハングする
Issue
ksh-20120801-10.el6_5.3 で以下のコマンドを実行すると最低 1 時間は結果が返ってきません。
$ FILES=`find /usr/include -type f`
- ここでは、大量のファイルを取得しているようです。
$ find /usr/include -type f |wc -l
10002
Environment
- Red Hat Enterprise Linux 6
ksh-20120801-10.el6_5.3.x86_64
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.
