<?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: Command line 256 characters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996661#M913686</link>
    <description>I ran into this problem while doing a make_tape_recovery once.  I needed to exclude a lot of filesystems and ran out of space.  at the end of each line I added a "\" which allowed me to continue my command on the next line</description>
    <pubDate>Fri, 13 Jun 2003 10:10:59 GMT</pubDate>
    <dc:creator>John Meissner</dc:creator>
    <dc:date>2003-06-13T10:10:59Z</dc:date>
    <item>
      <title>Command line 256 characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996657#M913682</link>
      <description>I've hit a problem with a Makefile.  Due to setting symbols the generated cc command is longer than 256 characters, and is silently truncated.&lt;BR /&gt;&lt;BR /&gt;On my terminal window, cutting and pasting to make a command line more than 256 characters seems to accept it, but beeps for every character over 256 and only executes the first 256 characters.&lt;BR /&gt;&lt;BR /&gt;However, echo * | wc -c can report a value MUCH bigger than 256 characters, and I am sure the shell line length is colossal in 11.11i.&lt;BR /&gt;&lt;BR /&gt;There is a $(SHELL) variable in the Makefile which I have set to /usr/bin/ksh to make sure it's not using /bin/sh, which may have different limits.</description>
      <pubDate>Fri, 13 Jun 2003 07:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996657#M913682</guid>
      <dc:creator>Martin Robinson</dc:creator>
      <dc:date>2003-06-13T07:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Command line 256 characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996658#M913683</link>
      <description>Hi,&lt;BR /&gt;did you try splitting the line with a "\" at the end, every 200 characters or so ?&lt;BR /&gt;&lt;BR /&gt;I overcomed the same problem with this trick many times.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jun 2003 08:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996658#M913683</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-13T08:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Command line 256 characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996659#M913684</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Refer to the following link ..&lt;BR /&gt;&lt;BR /&gt;Handle Too-Long Command Lines with xargs&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://linux.oreillynet.com/pub/a/linux/lpt/09_21.html" target="_blank"&gt;http://linux.oreillynet.com/pub/a/linux/lpt/09_21.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Fri, 13 Jun 2003 09:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996659#M913684</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-06-13T09:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command line 256 characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996660#M913685</link>
      <description>as pointed out you should use the \ to break long lines.&lt;BR /&gt;&lt;BR /&gt;I used to come across this problem with vgimports and vgcreates with lots of disk device files.&lt;BR /&gt;&lt;BR /&gt;the best way to do it is in your makefile:&lt;BR /&gt;&lt;BR /&gt;cc -o $OPTIONS  -o2 $OPTIONS2  -o3 $OPTIONS3  -o4 $OPTIONS4&lt;BR /&gt;&lt;BR /&gt;or something like that..&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jun 2003 09:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996660#M913685</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2003-06-13T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Command line 256 characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996661#M913686</link>
      <description>I ran into this problem while doing a make_tape_recovery once.  I needed to exclude a lot of filesystems and ran out of space.  at the end of each line I added a "\" which allowed me to continue my command on the next line</description>
      <pubDate>Fri, 13 Jun 2003 10:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-256-characters/m-p/2996661#M913686</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-06-13T10:10:59Z</dc:date>
    </item>
  </channel>
</rss>

