ksh shell hangs if setting variable from command that produces more than 120k

Solution Unverified - Updated -

Issue

On ksh-20120801-10.el6_5.3 there is a problem that following command will not come back with a result for at least 1 hour

$ FILES=`find /usr/include -type f`
  • where find brings a huge amount of files
$ 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content