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

Bro Tracker bro at tracker.bro.org
Tue Jun 4 21:16:09 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 seth):

 > Thanks. One more thing (I've already argued with Seth about this :) For
 > "path"  suggests *full* path including the script's file, while this
 > returns only the directory where the script is located in. Would you
 > object to changing that? Alternatively, how about using {{{@DIR}}}
 > of {{{@PATH}}}? (or maybe {{{@CWD}}}?)

 I don't like @CWD since that conflates with cwd for Bro which will
 frequently be something different.  I could get behind @DIR, but I still
 that @PATH indicates just the path and not the path+file to me.  Not a big
 deal either way for me.

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

More information about the bro-dev mailing list