for i


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting for i
# 1  
Old 08-04-2007
Question for i

loop for i in $* that is equivalent to for i :

What is exactly mean "$* " ?
As far as I know just "*" means all files current directory

Thanks
# 2  
Old 08-04-2007
'man ksh'
Code:
       Modifiers can be applied to the ${name} form of parameter substitution:

       *      All positional parameters (except  parameter  0),  i.e.,  $1  $2
              $3....   If  used outside of double quotes, parameters are sepa-
              rate words (which are subjected  to  word  splitting);  if  used
              within  double  quotes,  parameters  are  separated by the first
              character of the IFS parameter (or the empty string  if  IFS  is
              null).

Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question