• Post Reply Bookmark Topic Watch Topic
  • New Topic

can someone explain me the code?  RSS feed

 
ekte spiriopoulos
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have make comments where i cant understand .Can you explain it ?
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ekte spiriopoulos wrote:I have make comments where i cant understand .Can you explain it ?


The "$#" is a built in variable that represents the number of parameters to the shell script. And the reason that I know this, is that it is pretty much the same (with this variable), with practically *all* of the half dozen or so, available unix command shells... which leads to the next questions. What shell are you using? And wouldn't it be better to pick up a book / tutorial on the specific command shell, than guessing and asking here?

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!