On 03/07/2014 01:12 PM, ToddAndMargo wrote:
Hi All,

In SL6.5 bash script, is "while" not supported/

Cancel="no" while [ "$Cancel" != "Cancel" ]
    do
       RunTunnel
    done

Gives me "while: command not found".

Is there a better way to do "loop until"?

Many thanks,
-T




Never mind.  Missed a command separator  ";".

    Cancel="no"; while [ "$Cancel" != "Cancel" ]

-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to