Results 1 to 4 of 4
hi,
i have a new que.
how can i count arguments of a script.
i want to say user "you entered too arguments" ,if he/she enter the arguments more than ...
- 12-27-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 28
about script
hi,
i have a new que.
how can i count arguments of a script.
i want to say user "you entered too arguments" ,if he/she enter the arguments more than script's arguments.
- 12-27-2009 #2Debian GNU/Linux -- You know you want it.
- 12-27-2009 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 28
Thank you
- 12-28-2009 #4Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
echo
echo "Total number of arguments passed = $#"
echo


Reply With Quote