Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by adubas

  1. adubas

    ksh looping - simple menu for my unix class

    yeah, this is intro to unix. The students have not had any unix before about 6 weeks ago. We meet once a week. We just started to write scripts last week. Its not an advanced class by any means. I think the scripting we are learning is more concept based. I don't think in this class we will be...
  2. adubas

    ksh looping - simple menu for my unix class

    yes, it is an exercise on "if, then, elif, else" he said for extra credit add a loop using "while do" while do was his only hint on how to do it.
  3. adubas

    ksh looping - simple menu for my unix class

    because the case stuff is too advanced for this intro to unix class, we just started scripting last week. If I used that the teacher would be like where did you get this from, plus I don't know what his stuff means. but his example gave me a syntax for the "while , do and done" I...
  4. adubas

    ksh looping - simple menu for my unix class

    Thanks ken, simple yet effective way of pausing. the final script I will turn in is below. not advanced, but works. This scripting stuff is pretty cool. Any good books on scripting out there? or a resouce on scripting commands? Andrew #! /bin/ksh #Andrew Dubas - November 27, 2002 #simple menu...
  5. adubas

    ksh looping - simple menu for my unix class

    Thanks! what is a way to "pause"? in dos batch files you can use the pause command which waits until a user strikes any key, how can I execute the command they choose, then pause until they hit a key. when they choose certain answers the screen clears so fast its hard to see what it...
  6. adubas

    ksh looping - simple menu for my unix class

    I made the following menu per the instructors requirements. He stated for extra credit have it loop until somone chooses a number on the menu to exit. he said use a "do while" ? I'm only halfway through my unix class and am new to scripting. can someone explain looping? or how i can do...

Part and Inventory Search

Back
Top