Return to Snippet

Revision: 27410
at June 7, 2010 07:40 by maxint


Initial Code
#!/bin/bash
echo \$0=$0     # argv[0]
echo \$1=$1     # argv[1]
echo \$#=$#     # argc
# if argv[0] does not exist, print message after '?'
echo ${1?"Usage: $0 ARGUMENT"}

Initial URL

                                

Initial Description

                                

Initial Title
arguments of shell

Initial Tags

                                

Initial Language
Bash