<?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: length of a command string in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342491#M874769</link>
    <description>what do you mean when you say "it fails"&lt;BR /&gt;&lt;BR /&gt;What kind of error messages do you see when it fails ?</description>
    <pubDate>Tue, 27 Jul 2004 14:09:39 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2004-07-27T14:09:39Z</dc:date>
    <item>
      <title>length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342488#M874766</link>
      <description>Is there a length restriction on the command string in HP-UX 11.0 and if there is, what is the max length permitted?</description>
      <pubDate>Tue, 27 Jul 2004 13:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342488#M874766</guid>
      <dc:creator>Wen Geng</dc:creator>
      <dc:date>2004-07-27T13:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342489#M874767</link>
      <description>getconf LINE_MAX&lt;BR /&gt;&lt;BR /&gt;I do believe this refers to the max length of a command (or a line).</description>
      <pubDate>Tue, 27 Jul 2004 13:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342489#M874767</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-27T13:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342490#M874768</link>
      <description>getconf LINE_MAX returns 2048. My command line lenth is 258 characters and it fails. If I insert the total command in a file and call it, then it runs fine. Any answers?</description>
      <pubDate>Tue, 27 Jul 2004 14:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342490#M874768</guid>
      <dc:creator>Wen Geng</dc:creator>
      <dc:date>2004-07-27T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342491#M874769</link>
      <description>what do you mean when you say "it fails"&lt;BR /&gt;&lt;BR /&gt;What kind of error messages do you see when it fails ?</description>
      <pubDate>Tue, 27 Jul 2004 14:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342491#M874769</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-27T14:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342492#M874770</link>
      <description>I think it is 255. LINE_MAX appies to max line length in a file.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 27 Jul 2004 14:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342492#M874770</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-27T14:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: length of a command string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342493#M874771</link>
      <description>On 11i system maximum number of characters that can be typed on the shell command line is&lt;BR /&gt;&lt;BR /&gt;255 with posix shell (/usr/bin/sh)&lt;BR /&gt;512 with korn shell (/usr/bin/ksh)&lt;BR /&gt;&lt;BR /&gt;I think this limit has something to do with MAX_CANON in /usr/include/limits.h.&lt;BR /&gt;&lt;BR /&gt;#  define _POSIX_MAX_CANON      255     /* Max number of bytes in a terminal&lt;BR /&gt;#    define MAX_CANON   512     /* Max number of bytes in a terminal canonical&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 21:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/length-of-a-command-string/m-p/3342493#M874771</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-07-27T21:43:00Z</dc:date>
    </item>
  </channel>
</rss>

