<?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 Csh shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520016#M872299</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to put the value of a command to a variable, but I don't know how to make it.&lt;BR /&gt;&lt;BR /&gt;In Ksh shell I do: var=$(date), but at the csh shell: set var=$(date), it's wrong....&lt;BR /&gt;&lt;BR /&gt;Could anyone help me???&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Apr 2001 09:44:14 GMT</pubDate>
    <dc:creator>Carme Torca</dc:creator>
    <dc:date>2001-04-23T09:44:14Z</dc:date>
    <item>
      <title>Csh shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520016#M872299</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to put the value of a command to a variable, but I don't know how to make it.&lt;BR /&gt;&lt;BR /&gt;In Ksh shell I do: var=$(date), but at the csh shell: set var=$(date), it's wrong....&lt;BR /&gt;&lt;BR /&gt;Could anyone help me???&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Apr 2001 09:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520016#M872299</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2001-04-23T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Csh shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520017#M872300</link>
      <description>set&lt;BR /&gt;set name=word&lt;BR /&gt;           set name[index]=word&lt;BR /&gt;           set name=(wordlist)&lt;BR /&gt;                The first form of set shows the value of all shell&lt;BR /&gt;                variables.  Variables whose value is other than a single&lt;BR /&gt;                word print as a parenthesized word list.  The second form&lt;BR /&gt;                sets name to the null string.  The third form sets name to&lt;BR /&gt;                the single word.  The fourth form sets the indexth component&lt;BR /&gt;                of name to word; this component must already exist.  The&lt;BR /&gt;                final form sets name to the list of words in wordlist.  In&lt;BR /&gt;                all cases the value is command and file-name expanded.&lt;BR /&gt;&lt;BR /&gt;                These arguments can be repeated to set multiple values in a&lt;BR /&gt;                single set command.  Note, however, that variable expansion&lt;BR /&gt;                happens for all arguments before any setting occurs</description>
      <pubDate>Mon, 23 Apr 2001 09:58:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520017#M872300</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-23T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Csh shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520018#M872301</link>
      <description>Hi Carme,&lt;BR /&gt;&lt;BR /&gt;try set var=`date`</description>
      <pubDate>Mon, 23 Apr 2001 10:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520018#M872301</guid>
      <dc:creator>Graham Forecast</dc:creator>
      <dc:date>2001-04-23T10:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Csh shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520019#M872302</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it is pretty simple. You have to include the command in single backticks. Like in the following example. Note the different single quotes.&lt;BR /&gt;&lt;BR /&gt;set datum = `date +'%Y-%m-%d %H:%M'`&lt;BR /&gt;&lt;BR /&gt;Hope this helps.  Stefan</description>
      <pubDate>Mon, 23 Apr 2001 10:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-shell/m-p/2520019#M872302</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2001-04-23T10:15:21Z</dc:date>
    </item>
  </channel>
</rss>

