#!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek G. Gite # # Latest version can be found at http://www.nixcraft.com/ # function demo() { echo "All Arguments to function demo(): $*" echo "First argument $1" echo "Second argument $2" echo "Third argument $3" return } # # Call the function # demo -f foo bar # # ./ch.sh: vivek-tech.com to nixcraft.com referance converted using this tool # See the tool at http://www.nixcraft.com/uniqlinuxfeatures/tools/ #