Menu

#1 Allow Hash Bang line patch for luban beta 1.2

open
nobody
None
5
2005-04-27
2005-04-27
No

This is a patch to allow the usual:

#!/path/to/luban

as the first line of a script. This allows luban
scripts to be "stand alone" on OSes which support it
(Linux, for example). On OSes which don't support it
(ie Windows), the interpreter will simply ignore the line.

Patch is supplied as a context diff. Apply patch in
the top level directory of the luban source tree.
Using GNU patch, the following command should work:

patch -p0 < shebang-context.diff

There are probably improvements that can (and should)
be made.
Please direct all comments, flames, etc regarding this
patch to r11132a@users.sourceforge.net

Discussion

  • Sandy Harrington

    patch to handle a Hash Bang line at the top of the script.

     
  • Sandy Harrington

    • summary: Allow Hash Bang line patch --> Allow Hash Bang line patch for luban beta 1.2
     

Log in to post a comment.