[openbox] arguments in openbox-session

Jorge Almeida jjalmeida at gmail.com
Sun Jun 20 17:58:10 EDT 2010


The last line of the openbox-session file is
exec /usr/bin/openbox "$@"

What is the purpose of "$@" ?

I think this is supposed to be equivalent to "$1" "$2" ...
(http://www.ibm.com/developerworks/linux/library/l-bash-parameters.html),
but in this case what parameters do we have? Are these parameters of
openbox-session that would be passed to the openbox executable? But
openbox-session is to be invoked without parameters, right? And the
first lines of openbox-session check for that....

(Just trying to understand how it works.)

Jorge Almeida


More information about the openbox mailing list