<?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: Scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849540#M93149</link>
    <description>Or like the rotating slash. I always liked that. Anyone know how to do that?</description>
    <pubDate>Thu, 21 Nov 2002 15:03:23 GMT</pubDate>
    <dc:creator>Nobody's Hero</dc:creator>
    <dc:date>2002-11-21T15:03:23Z</dc:date>
    <item>
      <title>Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849539#M93148</link>
      <description>I have a question that is not that important.&lt;BR /&gt;Sometimes when you run an HP script like Q4 for example. you see the dotted lines running accross the page until the procedure finishes.&lt;BR /&gt;&lt;BR /&gt;like '................................................... processing completed.'&lt;BR /&gt;&lt;BR /&gt;Does anyone know how this is scripted? I can echo a line of 'dots'. but I can not get them to proceed one after another. Like I said , not real important, its just bugging me because I can't figure out how to do it.&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;B.</description>
      <pubDate>Thu, 21 Nov 2002 15:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849539#M93148</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-11-21T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849540#M93149</link>
      <description>Or like the rotating slash. I always liked that. Anyone know how to do that?</description>
      <pubDate>Thu, 21 Nov 2002 15:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849540#M93149</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-11-21T15:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849541#M93150</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Lots of scripts do it like this:&lt;BR /&gt;&lt;BR /&gt;echo ".\c"&lt;BR /&gt;&lt;BR /&gt;The \c tells 'echo' not to append a new-line character at the end of the line.  Put that in a loop and you have your dots.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 15:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849541#M93150</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-11-21T15:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849542#M93151</link>
      <description>Isn't Q$ perl based?&lt;BR /&gt;&lt;BR /&gt;#!/opt/bin/perl&lt;BR /&gt;&lt;BR /&gt;$| = 1;&lt;BR /&gt;@mark = qw{ / | \ - };&lt;BR /&gt;$i = 100;&lt;BR /&gt;while ($i--) {&lt;BR /&gt;  print $mark[$i % 4], "\r";&lt;BR /&gt;  for (1..0x5ffff) { 1 } # delay&lt;BR /&gt;  }&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 15:16:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849542#M93151</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-11-21T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849543#M93152</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you could do something like &lt;BR /&gt;&lt;BR /&gt;echo "^H|\c"; sleep 1; echo "^H/\c"; sleep 1 ; echo "^H-\c" and so on.&lt;BR /&gt;&lt;BR /&gt;Put this in a extra script in a loop an run it in the background.&lt;BR /&gt;&lt;BR /&gt;This should give you the rotating slash.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Thu, 21 Nov 2002 15:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849543#M93152</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-11-21T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849544#M93153</link>
      <description>Here's a shell script to do the rotating /...&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;&lt;BR /&gt;CHAR[0]="|"&lt;BR /&gt;CHAR[1]="/"&lt;BR /&gt;CHAR[2]="-"&lt;BR /&gt;CHAR[3]="\\"&lt;BR /&gt;&lt;BR /&gt;let I=0&lt;BR /&gt;print -n " "&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt; let N=I%4&lt;BR /&gt; let I=I+1&lt;BR /&gt; print -n "\010${CHAR[N]}"&lt;BR /&gt;sleep 1&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Thu, 21 Nov 2002 15:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849544#M93153</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-21T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849545#M93154</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;And here is a 'launcher' ...&lt;BR /&gt;&lt;BR /&gt;A - sh script called rotate.sh :&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;while :&lt;BR /&gt;do&lt;BR /&gt;  echo '\\'"\r\c"&lt;BR /&gt;  sleep 1&lt;BR /&gt;  echo "|\r\c"&lt;BR /&gt;  sleep 1&lt;BR /&gt;  echo "/\r\c"&lt;BR /&gt;  sleep 1&lt;BR /&gt;  echo "-\r\c"&lt;BR /&gt;  sleep 1&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;B - sh script 'go.sh' :&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;trap 'kill $I ; exit $R' 0 1 2 3 15&lt;BR /&gt;rotate.sh &amp;amp;&lt;BR /&gt;I=$!&lt;BR /&gt;$*&lt;BR /&gt;R=$?&lt;BR /&gt;&lt;BR /&gt;C - try it for example using :&lt;BR /&gt;&lt;BR /&gt;go.sh du -ks /usr&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Thu, 21 Nov 2002 15:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849545#M93154</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-11-21T15:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849546#M93155</link>
      <description>Here's a shell script to do the rotating /... &lt;BR /&gt;&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;&lt;BR /&gt;CHAR[0]="|" &lt;BR /&gt;CHAR[1]="/" &lt;BR /&gt;CHAR[2]="-" &lt;BR /&gt;CHAR[3]="\\" &lt;BR /&gt;&lt;BR /&gt;let I=0 &lt;BR /&gt;print -n " " &lt;BR /&gt;&lt;BR /&gt;while true &lt;BR /&gt;do &lt;BR /&gt;let N=I%4 &lt;BR /&gt;let I=I+1 &lt;BR /&gt;print -n "\010${CHAR[N]}" &lt;BR /&gt;sleep 1 &lt;BR /&gt;done &lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 15:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849546#M93155</guid>
      <dc:creator>justin berkman</dc:creator>
      <dc:date>2002-11-21T15:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849547#M93156</link>
      <description>Nice one Jimmy!&lt;BR /&gt;&lt;BR /&gt;You could have at least have taken the trouble to change some of the variable names.</description>
      <pubDate>Thu, 21 Nov 2002 15:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849547#M93156</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-21T15:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849548#M93157</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Imitation is the sincerest form of flattery.  Besides, with the timestamp bug on the forum, how do we know you were really first?  :)&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 16:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849548#M93157</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-11-21T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849549#M93158</link>
      <description>I was. But obviously Robert does not like perl :/</description>
      <pubDate>Thu, 21 Nov 2002 16:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849549#M93158</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-11-21T16:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849550#M93159</link>
      <description>At least he didn't cut and paste the &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;part.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 21 Nov 2002 16:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849550#M93159</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-11-21T16:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849551#M93160</link>
      <description>Can't resist..&lt;BR /&gt;&lt;BR /&gt;Check this one out..&lt;BR /&gt;&lt;BR /&gt;works for me!!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x276e50011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x276e50011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;Nice one jimmy!!</description>
      <pubDate>Thu, 21 Nov 2002 17:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2849551#M93160</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-11-21T17:05:22Z</dc:date>
    </item>
  </channel>
</rss>

