<?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: Expect Script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825551#M24220</link>
    <description>the exec and system commands within expect can be used to call standard UNIX programs (or other shell scripts). &lt;BR /&gt;&lt;BR /&gt;For a reasonably full treatment of their syntax see "Exploring Expect" pg 207&lt;BR /&gt;&lt;BR /&gt;more complex shell constructs can be enclosed within {} and passed to exec or system. You may need to experiment a little to get variable expansion working the way you want. Exec and system differ in the way they handle arguements.</description>
    <pubDate>Tue, 18 Jul 2006 18:35:50 GMT</pubDate>
    <dc:creator>Mark Fenton</dc:creator>
    <dc:date>2006-07-18T18:35:50Z</dc:date>
    <item>
      <title>Expect Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825549#M24218</link>
      <description>Is there a way to run regular shell commands from within an expect script or run an expect command from within a regular (bourne, korn, bash, etc) shell script. I know I can call on the expect script from within the regular shell script, but I would like to combine everything into one file if possible.</description>
      <pubDate>Tue, 18 Jul 2006 09:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825549#M24218</guid>
      <dc:creator>John Carver</dc:creator>
      <dc:date>2006-07-18T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expect Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825550#M24219</link>
      <description>Here is a sample that the expect script calls unix commands:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://rootprompt.org/article.php3?article=5760" target="_blank"&gt;http://rootprompt.org/article.php3?article=5760&lt;/A&gt;</description>
      <pubDate>Tue, 18 Jul 2006 09:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825550#M24219</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-18T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expect Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825551#M24220</link>
      <description>the exec and system commands within expect can be used to call standard UNIX programs (or other shell scripts). &lt;BR /&gt;&lt;BR /&gt;For a reasonably full treatment of their syntax see "Exploring Expect" pg 207&lt;BR /&gt;&lt;BR /&gt;more complex shell constructs can be enclosed within {} and passed to exec or system. You may need to experiment a little to get variable expansion working the way you want. Exec and system differ in the way they handle arguements.</description>
      <pubDate>Tue, 18 Jul 2006 18:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-script/m-p/3825551#M24220</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2006-07-18T18:35:50Z</dc:date>
    </item>
  </channel>
</rss>

