Tk Library Source Code

View Ticket
Login
Ticket UUID: 19721eff15f5e90f2bd43f5a9205ad0184944669
Title: Better example usability
Type: Patch Version: trunk
Submitter: stwo Created on: 2013-09-18 16:00:29
Subsystem: Examples Assigned To: andreas_kupries
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2013-10-30 18:48:41
Resolution: Accepted Closed By: aku
    Closed on: 2013-10-30 18:48:41
Description:
Add shebangs, package requires, etc. to allow examples to be easily run.

Also, tklib:canvas seems to be missing from the subsystem list.
User Comments: aku added on 2013-10-30 18:48:41:
Applied in revision [8a11db6d15].
Committed.
Pushed.

Note: A more modern heading is the use of /usr/bin/env, i.e. like

  #!/usr/bin/env tclsh
  # -*- tcl -*-

No need for exec and continuation line shenanigans.
AFAIK the 'env' implies an internal 'exec'.

Attachments: