[Bro-Dev] #869: Mechanism for discovering current script name

Bro Tracker bro at tracker.bro.org
Wed Jun 5 09:05:46 PDT 2013


#869: Mechanism for discovering current script name
----------------------------+------------------------
  Reporter:  seth           |      Owner:
      Type:  Merge Request  |     Status:  new
  Priority:  Normal         |  Milestone:  Bro2.2
 Component:  Bro            |    Version:  git/master
Resolution:                 |   Keywords:  language
----------------------------+------------------------

Comment (by jsiwek):

 In [changeset:022ce2505f3423378d193e2b16fda873cb325c3c/bro]:
 {{{
 #!CommitTicketReference repository="bro"
 revision="022ce2505f3423378d193e2b16fda873cb325c3c"
 Change @PATH to @DIR for clarity.  Add @FILENAME.  Addresses #869.

 @DIR expands to directory path of the script, @FILENAME expands to just
 the script file name without path.
 }}}

-- 
Ticket URL: <http://tracker.bro.org/bro/ticket/869#comment:9>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list