Results 1 to 7 of 7

Thread: unclear about *.tcl files

  1. #1
    Join Date
    Feb 2002
    Posts
    345

    unclear about *.tcl files

    Are they condsidered a script? or are they executables?
    What does the tcl extension mean?

  2. #2
    Join Date
    Oct 2002
    Location
    USA
    Posts
    537
    tcl is a scripting language they are executables also when run by the tcl language interpeter.

    i.e. both
    Ma l'italiano benissimo

    Ex-Cantidate John Kerry
    Its not what you want it's what the electorate wants.

  3. #3
    Join Date
    Feb 2002
    Posts
    345
    Ok so lets take this:
    fixsub.tcl

    When transferred to a tivo before chmod' ing it...is it considered script ?

  4. #4
    Join Date
    Jan 2002
    Location
    New York
    Posts
    2,407
    Originally posted by cali
    Ok so lets take this:
    fixsub.tcl

    When transferred to a tivo before chmod' ing it...is it considered script ?
    Well.... they are scripts, much like batch files (*.bat) in DOS.
    .bat files much like .tcl files are nothing unless they can be executed by an interpreter.

    but:

    Let's get to it...

    what's the basis of the question?

    Maybe we can help more if we knew where you were going with this...

  5. #5
    Join Date
    Feb 2002
    Posts
    345
    Well 2 reasons:

    1. Fixsub on the NEW Series2 is said to be script runnable.

    2. I have seen the modules for Tivolater 3.1 which contain a *.gz file with an installer script *.sh. You make the *.sh executable and run it, hence my confusion between script and executable.


    So basically I realized I didnt know what each one is exactly, as im not a big SW guy.

    I can read the tcl files, and *.sh and figure out what they are doing , pretty much like u said (ie dos batch files).

    So all I am looking for clarity and understanding so I can move on to the next step.

    cali

  6. #6
    Join Date
    Jan 2002
    Location
    New York
    Posts
    2,407
    Well, now you have clarity.

    they are both interpreted executable scripts (as opposed to executabe compiled binary).

    Hope this helps you do what you need to do.



    btw: the 31fixsub packaged for Tivolater is only packaged that way to aid newbies in installing the "script". The only thing ACTUALLY needed is the fixsub.tcl file. However, the 31Fixsub for Tivolater is slightly buggy and doesn't address the cron need (scheduled runniing of fixsub.tcl).

    The version included in BlissTerPopper is slightly cleaner code, and will give you some ideas of how best to run that particular script if you rip it apart and see how it's done.

    JJ
    Last edited by JJBliss; 04-03-2003 at 08:02 AM.

  7. #7
    Join Date
    Feb 2002
    Posts
    345
    Cool.

    I know about the cron issue, but for now I just need to run it manually and then ill move on from there.

    cali

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •