Link to home
Start Free TrialLog in
Avatar of seremaz
seremaz

asked on

finding out the number of parameters entered

hi, i would like to know how i can echo to screen the number of parameters entered in a bourne shellscript program

ie. if the person types "hello hello hello hello hello" i want it to echo to screen "5 parameters were entered"

any help appreciated, thanks
ASKER CERTIFIED SOLUTION
Avatar of avizit
avizit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of seremaz
seremaz

ASKER

i already figured this out, but as you answered me right ill give u the points anyway :p