Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Meaning of ${1+"$@"}

$
0
0
I am new to unix and i saw a sh file with below command.
Code:

exec gpg --homedir /web/gnupg --passphrase-fd 4 ${1+"$@"} 4< /web/gnupg.passphrase
Can you please expalin the mening of 4 ${1+"$@"} 4< line.

My understanding is pass phrase will be read from file gnupg.passphrase.

Thanks

Viewing all articles
Browse latest Browse all 16232

Trending Articles