News for hackers. Stuff that matters.
Re:Why Lua? by groovy2shoes on Tuesday January 31, 2012 @10:25PM (#3536513)
> automatic fall-through to exec as if via sh(1)

That explains why X11.app launched that one time I forgot a `$` before my `x`...

Re:Why Lua? by bch on Tuesday January 31, 2012 @11:01PM (#3536604)
That sounds likely. Note that is strictly for interactively typed commands. Witness:

  kamloops$ cat ls.tcl
  #!/usr/pkg/bin/tclsh8.6

  ls foo

  kamloops$ ./ls.tcl 
  invalid command name "ls"
      while executing
  "ls foo"
      (file "./ls.tcl" line 3)
  kamloops$ tclsh8.6
  % source ls.tcl
  invalid command name "ls"
  % ls foo
  foo
  % 
Now, back to your regularly scheduled Lua topic :)