<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /usr/bin/expr: The parameter list is too long. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-bin-expr-the-parameter-list-is-too-long/m-p/2506800#M892083</link>
    <description>Sounds like you have too many directories and/or files out there.</description>
    <pubDate>Mon, 19 Mar 2001 18:37:14 GMT</pubDate>
    <dc:creator>Tracey</dc:creator>
    <dc:date>2001-03-19T18:37:14Z</dc:date>
    <item>
      <title>/usr/bin/expr: The parameter list is too long.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-bin-expr-the-parameter-list-is-too-long/m-p/2506799#M892082</link>
      <description>The above error is output after the following script has run for quite some time:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;count2=0003&lt;BR /&gt;#dirdepth=/net/nano/usr/y&lt;BR /&gt;dirdepth=/b&lt;BR /&gt;dircount=0&lt;BR /&gt;cd /x&lt;BR /&gt;while ((`expr $dircount \&amp;lt; 27` == 1))&lt;BR /&gt;do&lt;BR /&gt;  while ((`expr $count2 \&amp;lt; 9999` == 1))&lt;BR /&gt;  do&lt;BR /&gt;      cd z$dircount$count2&lt;BR /&gt;      count2=`expr $count2 + 1`&lt;BR /&gt;  done&lt;BR /&gt;  count2=000&lt;BR /&gt;  dircount=`expr $dircount + 1`&lt;BR /&gt;  echo $dircount","$count2&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;while ((`expr $dircount \&amp;lt; 9999` == 1))&lt;BR /&gt;do&lt;BR /&gt;  while ((`expr $count2 \&amp;lt; 9999` == 1))&lt;BR /&gt;  do&lt;BR /&gt;      mkdir z$dircount$count2&lt;BR /&gt;      cd z$dircount$count2&lt;BR /&gt;      echo "tenspin "$dircount","$count2&lt;BR /&gt;      count2=`expr $count2 + 1`&lt;BR /&gt;  done&lt;BR /&gt;  count2=0&lt;BR /&gt;  dircount=`expr $dircount + 1`&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is some of the output preceding and including the error when the script dies:&lt;BR /&gt;&lt;BR /&gt;mkdir: cannot create z272240: File exists&lt;BR /&gt;tenspin 27,2240&lt;BR /&gt;mkdir: cannot create z272241: File exists&lt;BR /&gt;tenspin 27,2241&lt;BR /&gt;mkdir: cannot create z272242: File exists&lt;BR /&gt;tenspin 27,2242&lt;BR /&gt;mkdir: cannot create z272243: File exists&lt;BR /&gt;tenspin 27,2243&lt;BR /&gt;mkdir: cannot create z272244: File exists&lt;BR /&gt;tenspin 27,2244&lt;BR /&gt;mkdir: cannot create z272245: File exists&lt;BR /&gt;tenspin 27,2245&lt;BR /&gt;mkdir: cannot create z272246: File exists&lt;BR /&gt;tenspin 27,2246&lt;BR /&gt;mkdir: cannot create z272247: File exists&lt;BR /&gt;tenspin 27,2247&lt;BR /&gt;mkdir: cannot create z272248: File exists&lt;BR /&gt;tenspin 27,2248&lt;BR /&gt;mkdir: cannot create z272249: File exists&lt;BR /&gt;tenspin 27,2249&lt;BR /&gt;./grueldxx[26]: /usr/bin/expr: The parameter list is too long.&lt;BR /&gt;./grueldxx[26]: /usr/bin/expr: The parameter list is too long.&lt;BR /&gt;./grueldxx[21]:  == 1: Syntax error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note that I ran this script twice, and got the same error at about the same place. The first time, of course, the mkdir error was not displayed as the directory did not exist previous to the execution of this script.&lt;BR /&gt;&lt;BR /&gt;Any ideas as to why /usr/bin/expr chose this particular time to die?&lt;BR /&gt;&lt;BR /&gt;The system is a C3600, running HP-UX 11.00 with lots of patches. The directory in which these subdirectories are being created are located across the network using NFS v3 on another system.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 19 Mar 2001 18:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-bin-expr-the-parameter-list-is-too-long/m-p/2506799#M892082</guid>
      <dc:creator>Michael Lampi</dc:creator>
      <dc:date>2001-03-19T18:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/bin/expr: The parameter list is too long.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-bin-expr-the-parameter-list-is-too-long/m-p/2506800#M892083</link>
      <description>Sounds like you have too many directories and/or files out there.</description>
      <pubDate>Mon, 19 Mar 2001 18:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-bin-expr-the-parameter-list-is-too-long/m-p/2506800#M892083</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-03-19T18:37:14Z</dc:date>
    </item>
  </channel>
</rss>

