03-31-2015
23,310,
4,623
Join Date: Aug 2005
Last Activity: 7 July 2020, 11:47 AM EDT
Location: Saskatchewan
Posts: 23,310
Thanks Given: 1,331
Thanked 4,623 Times in 4,217 Posts
${1} would be the first parameter.
${#1} would be the length of the first parameter.
It's testing if the first two arguments are empty. I'd have just done [ -z "$1" ] || [ -z "$2" ] but whatever works.