<?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: [help]pathname too long[help] in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036759#M133641</link>
    <description>Agree with Malay, you should have a look at the patch level. Do you have patch PHCO_19434 on the system. It might solve your problem. This is the csh patch for UX 10.20.</description>
    <pubDate>Wed, 30 Jul 2003 03:08:06 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2003-07-30T03:08:06Z</dc:date>
    <item>
      <title>[help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036753#M133635</link>
      <description>Hi,&lt;BR /&gt;I meet a problem.&lt;BR /&gt;in my environment,I use csh.and one day I found all of my csh script are not work .when type the script name ,the system only give "pathname too long".even the script only have one line like this:&lt;BR /&gt;#! /usr/bin/csh&lt;BR /&gt;ls -l&lt;BR /&gt;if I change the script to sh, like this:&lt;BR /&gt;#! /usr/bin/sh&lt;BR /&gt;ls -l&lt;BR /&gt;it can work properly.&lt;BR /&gt;I just wondering ,what is the meaning of pathname to long, does the csh have some restricts of the length of PATH?because I only add 5 path in ~/.cshrc like this:&lt;BR /&gt;set path=( $path /usr/sbin /opt/gcc/bin /opt/perl5/bin/perl /usr/local/bin . /opt/nmp/adm/stool )&lt;BR /&gt;and if I remove all the path from my .cshrc and the csh script can run properly.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jul 2003 01:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036753#M133635</guid>
      <dc:creator>zhangr_2</dc:creator>
      <dc:date>2003-07-30T01:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036754#M133636</link>
      <description>Hi Zhang,&lt;BR /&gt;   I have added 6 path in the .cshrc.And it's working fine.What are you OS level.Mine is 11.00.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;mB</description>
      <pubDate>Wed, 30 Jul 2003 02:52:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036754#M133636</guid>
      <dc:creator>malay boy</dc:creator>
      <dc:date>2003-07-30T02:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036755#M133637</link>
      <description>my os is hp-ux 11i&lt;BR /&gt;and I just use the echo $PATH and found that my $PATH are really too long ,almost 1189 character . does the csh ENV have some restrict on the length of the $PATH ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 30 Jul 2003 02:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036755#M133637</guid>
      <dc:creator>zhangr_2</dc:creator>
      <dc:date>2003-07-30T02:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036756#M133638</link>
      <description>The limit for a variable in csh is 1024 characters. But I think there is no limit for the path length.&lt;BR /&gt;Please run this and see:&lt;BR /&gt;# echo $PATH | wc -c</description>
      <pubDate>Wed, 30 Jul 2003 02:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036756#M133638</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-30T02:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036757#M133639</link>
      <description>Hi &lt;BR /&gt;The pathname limit is 1024 characters in csh.  I'm suspecting the brackets might cause the problem... you could try setting noglob before the path statement in your script (see man page for csh).&lt;BR /&gt;Also, if there are nulls or white space in the enviornment variable value, you can see this problem...  I'm guessing that the " . " in the above set path statement might be your problem!&lt;BR /&gt;&lt;BR /&gt;Good Luck :)</description>
      <pubDate>Wed, 30 Jul 2003 03:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036757#M133639</guid>
      <dc:creator>Pauline Brasch</dc:creator>
      <dc:date>2003-07-30T03:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036758#M133640</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;From the csh man page:&lt;BR /&gt;&lt;BR /&gt;noglob - If set, file name expansion is inhibited.  This is most useful in shell scripts that are not dealing with file names, or after a list of file names has been obtained and further expansions are not desirable.&lt;BR /&gt;&lt;BR /&gt;So maybe you need to do a "set noglob" before setting the path and "unset noglob" after setting the path.&lt;BR /&gt;&lt;BR /&gt;Hope it helps!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jul 2003 03:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036758#M133640</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-07-30T03:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: [help]pathname too long[help]</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036759#M133641</link>
      <description>Agree with Malay, you should have a look at the patch level. Do you have patch PHCO_19434 on the system. It might solve your problem. This is the csh patch for UX 10.20.</description>
      <pubDate>Wed, 30 Jul 2003 03:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-pathname-too-long-help/m-p/3036759#M133641</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-30T03:08:06Z</dc:date>
    </item>
  </channel>
</rss>

