jeudi 2 juillet 2015

Understand the use of braces and paranthesis in if

In one of the code i was going through i found that if was using braces {} for someplace and paranthesis () for some. Can someone tell me the exact meaning and where to use which one?

if [ "$1" = "--help" ]

if (( $# != 3 ))

Aucun commentaire:

Enregistrer un commentaire