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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.