1835087 Members
2093 Online
110073 Solutions
New Discussion

Re: Script question`

 
Smucker
Regular Advisor

Script question`

I see varies scripts posted that have the following.

"if [$# -ne 1 ]; then"

what does this mean [ or ] and how is it used??
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: Script question`

Bad cut and paste - they are square brackets:

[ ]

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Smucker
Regular Advisor

Re: Script question`

thanks...I was wondering