Bourne shell scripting tutorials
Simple Menu for User Input
Contributed by gevery77 on September 2, 2005 under Bourne shell scriptingThis script will create an input screen in BASH that allows the user to enter information just as they would in a window. This is to show the use of simple functions as well as the tput command. “tput cup” allows the developer to place the cursor anywhere on the screen. There are many more commands that tput recognizes, see the man page for more information.
Commentssimple function for print colorful text
Contributed by hpx on June 8, 2005 under Bourne shell scriptingfunction to print text with colors(not contain all the colors)
can be extened easily
Comments queue and stack using array
Contributed by hpx on under Bourne shell scriptinghere is a series of operation on array,
we can use these functions to implement a queue or stack that can help us more
Comments bash array operations
Contributed by hpx on under Bourne shell scriptingsometimes we need to remove one element from an array
for example we remove the element 2 (third) from array
Comments bash shell script accessing array variables
Contributed by qmchenry on August 31, 2004 under Bourne shell scriptingThe bash shell allows a number of methods for accessing elements of variable arrays. This recipe demonstrates some of these techniques.
Commentsbash shell script iterate through array values
Contributed by qmchenry on August 30, 2004 under Bourne shell scriptingHaving an array of variables is of no use unless you can use those values somehow. This recipe shows a few methods for looping through the values of an array in the bash shell.
Commentsbash shell script declaring/creating arrays
Contributed by qmchenry on under Bourne shell scriptingThe use of array variable structures can be invaluable. This recipe describes several methods for delcaring arrays in bash scripts.
CommentsPOPULAR RECIPES
- Bourne/bash shell script: while loop syntax
- Bourne/bash shell scripts: case statement
- Bourne/bash shell script for loop syntax
- Bourne/bash shell scripts: string comparison
- Bourne/bash shell scripts: if statement syntax
- bash shell script iterate through array values
- Determine if file exists in a Bourne/bash shell script
- bash shell script declaring/creating arrays
- View our Top Tens
TECH-RECIPES BLOGS
- Medical Abbreviations Application for iPhone Available.
- Medabbr Submitted to iPhone Store
- my msi wind and osx audio workaround (plantronics audio 480)
- my video MP4 tagging and zune tip!
- I Played with a Microsoft Surface Yesterday
- How to Put a YouTube Video on Your iPod (for free!)
- 10 Phone Numbers That Should Be In Your Cell Phone's Address Book
- 10 Must Have (and Free) Apps for the BlackBerry







