HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Having IF loop problem in expect script
Operating System - Linux
1827704
Members
2833
Online
109967
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 01:48 PM
02-04-2009 01:48 PM
Having IF loop problem in expect script
I am trying to add if loop in the recorded script. But it is getting hanged. It is not going in to the loop or not even coming out. Any idea why i am having this loop problem.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 04:00 PM
02-04-2009 04:00 PM
Re: Having IF loop problem in expect script
> Any idea [...]
No.
Have you thought about showing people what
you're doing? Or were you looking for help
from psychics who can read your mind and see
what you've tried, and what you want it to
do?
> Having IF loop problem in expect script
Not your biggest problem.
No.
Have you thought about showing people what
you're doing? Or were you looking for help
from psychics who can read your mind and see
what you've tried, and what you want it to
do?
> Having IF loop problem in expect script
Not your biggest problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2009 07:17 AM
02-05-2009 07:17 AM
Re: Having IF loop problem in expect script
I agree with Steven, you need to post your script so we could have a look for you.
how big is it?
unless we can see your script, there no way we can help you.
personally, i break down my scripts in sections and "test" each section as it goes.
put comments as the script flows so that you know where it jamms,
for example, divide your script in 20 sections and put
echo "1"
echo "2"
echo "3"
and as it runs, you will know how far it goes before it dies, or remove your IF command if it won't even run!
how big is it?
unless we can see your script, there no way we can help you.
personally, i break down my scripts in sections and "test" each section as it goes.
put comments as the script flows so that you know where it jamms,
for example, divide your script in 20 sections and put
echo "1"
echo "2"
echo "3"
and as it runs, you will know how far it goes before it dies, or remove your IF command if it won't even run!
Si tu n'as pas ce que tu aimes, aimes ce que tu as.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP