<?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: 2'nd question C-shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050764#M813253</link>
    <description>case closed</description>
    <pubDate>Mon, 18 Aug 2003 10:44:51 GMT</pubDate>
    <dc:creator>Ionut Grigorescu_2</dc:creator>
    <dc:date>2003-08-18T10:44:51Z</dc:date>
    <item>
      <title>2'nd question C-shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050762#M813251</link>
      <description>Hi gurus,&lt;BR /&gt;&lt;BR /&gt;yet another one:&lt;BR /&gt;I want to pass a variable to a program which send a command to the coressponding network element like:&lt;BR /&gt;%script_name -n parent_element_name -c "ZEQV:BTS=$i:GPRS=N;"&lt;BR /&gt;which means send to the parent network node the command (-c)  in quotation marks, where $i takes values from 1 to 248. The problem is it returns me a variable syntax error because of ":" after $i. I have tried to comment it out with "\" but in this case the command sent is like:&lt;BR /&gt;ZEQV_BTS=1\:GPRS=N; which is incorrect, because of  \ (here I put 1 instead of current $i value). Single quotation marks are also incorrect because they prevent variable substitution also - why was C-Shell invented for :-))??&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;ionu</description>
      <pubDate>Mon, 18 Aug 2003 08:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050762#M813251</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2003-08-18T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: 2'nd question C-shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050763#M813252</link>
      <description>try quoting the i with graph:&lt;BR /&gt;&lt;BR /&gt;%script_name -n parent_element_name -c "ZEQV:BTS=${i}:GPRS=N;" &lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Mon, 18 Aug 2003 08:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050763#M813252</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-18T08:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2'nd question C-shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050764#M813253</link>
      <description>case closed</description>
      <pubDate>Mon, 18 Aug 2003 10:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050764#M813253</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2003-08-18T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: 2'nd question C-shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050765#M813254</link>
      <description>Just a suggestion:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/" target="_blank"&gt;http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would also point out that csh doesn't seem to have a way&lt;BR /&gt;of defining subroutines or functions aside from putting them&lt;BR /&gt;in separate files and calling them like commands.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 16:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050765#M813254</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2003-08-18T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: 2'nd question C-shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050766#M813255</link>
      <description>I know Gregory, but I had to write it in csh, that was a requirement - now is OK, I have tested it in our testlab - it will be used during 80 nights in the livenetwork for an upgrade, once again many thanks to Massimo.</description>
      <pubDate>Tue, 19 Aug 2003 05:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/2-nd-question-c-shell-script/m-p/3050766#M813255</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2003-08-19T05:13:02Z</dc:date>
    </item>
  </channel>
</rss>

