[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] arguments in openbox-session
From:       jjalmeida () gmail ! com (Jorge Almeida)
Date:       2010-06-20 22:21:46
Message-ID: AANLkTikhnI3lJZiF9FYGuT01Hjz6SbJP9yHwbBnL2DBV () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic