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
- bash shell script iterate through array values
- Bourne/bash shell scripts: string comparison
- Bourne/bash shell script for loop syntax
- Bourne/bash shell scripts: if statement syntax
- Determine if file exists in a Bourne/bash shell script
- bash shell script declaring/creating arrays
- View our Top Tens
TECH-RECIPES BLOGS
- you're doing it wrong! (rant)
- thoughts of a launch psp owner (post 4 1/2 years)
- Facebook FishVille Cheat: Send Multiple Free Gifts to Your Neighbors
- post release: Windows 7, homegroups and me
- fall 2009 and some geek thoughts, reflections
- Facebook Cafe World Cheat: Close Your Cafe When You are Away for Long Periods of Time (to preserve your Buzz Rating)
- Facebook Cafe World Cheat: Serve Your Customers Instantly
- Facebook Cafe World Cheat: Send Multiple Free Gifts to Your Neighbors







