bash syntax help in /etc/init.d/functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am going through the /etc/init.d/functions and have some questions about
some of the syntax.
I'm relatively new to bash so any help would be appreciated.

I know what the local designator does;
however in the assignment statement
local base= user= nice= pid

I'm not sure what is happening in terms of teh = sign.
What does this mean.

In addition, there is a ${pid:-}.
I was expecting something after the -.
What does this mean (is it returning the null value?)

TIA

------------------
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure.  He's not dead yet" --William Lloyd George


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux