Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what's the meaning of TIME=${@:-5} 1

Status
Not open for further replies.

signalsys

Technical User
Sep 5, 2005
44
0
0
CN
what's the meaning of TIME=${@:-5}
 
See this link
It says that if $@ is set then use it, otherwise use '-5'

$@ is the list of parameters to a script. Looks like it's setting a default if no parameter is passed.

On the internet no one knows you're a dog

Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top