A sci-fi TV show, later turned into a long movie sequel. Mentioned here for some obscure reason. Maybe they used Tcl in the Enterprise... ...it turns out that Tcl's [clock scan] supports Star Trek's stardate notation: % clock scan "stardate 20 . 20" -756604800 I've no idea who added this or why. I cannot see it in the documentation either. Strikes me as needless code bloat. Does *anyone* use this? [RS] Also: 43258 % clock format [clock sec] -format %Q Stardate 57824.5 - The source for "strftime.c" reveals that the undocumented %Q format specifier is done as a special case: /* ... from strftime.c ... */ if (format[0] == '%' && format[1] == 'Q') { /* Format as a stardate */ sprintf(s, "Stardate %2d%03d.%01d", (((t->tm_year + TM_YEAR_BASE) + 377) - 2323), (((t->tm_yday + 1) * 1000) / (365 + IsLeapYear((t->tm_year + TM_YEAR_BASE)))), (((t->tm_hour * 60) + t->tm_min)/144)); /* ... */ (bin) 50 % clock format [clock sec] -format "%Q blah" Stardate 57547.3 (bin) 51 % clock format [clock sec] -format " %Q blah" Q blah Anyone know who/when/why introduced this curious feature? ''Just before the Tcl/2k conference in Austin - ask Jeff Hobbs and/or Kevin Kenny...'' [Ro]: This is really neat ;) ---- I believe the option was named %Q because of the Star Trek Next Generation recurring character of Q of the Q Consortium... [AMG] thinks it's actually the Q Continuum. "My name's Q. That's short for Q." ---- Maybe it was in honour of [Scotty]: What is Scotty? Scotty is the name for a software package which allows to implement site specific network management software using high-level, string-based APIs. The software is based on the Tool Command Language (Tcl) which simplifies the development of portable network management applications. The scotty source distribution includes two components: The Tnm Tcl extension allows to access network management information. The Tkined network editor provides a framework for an extensible network management platform. What is the story behind the name Scotty? Some people say it has something to do with the startrek series. Scotty was the character who had to make the impossible possible in order to keep the starship flying and the scotty package may do the same for your network. Others say that this name happened by accident because the author of the Scotty package was just too lazy to come up with a better name... ---- Or maybe it was in honor of George Tekai, pronounced "Tk," who played Sulu on Star Trek. ---- [LES]: Although the %Q option works in 8.4, it is not documented in 8.4. It is documented in 8.5, but the text sort of dodges the issue: "This format group is reserved for internal use within the Tcl library." In other words, "we acknowledge the existence, but don't feel like talking about it." ---- [KBK]: To quote Beauregard Claghorn[http://en.wikipedia.org/wiki/Senator_Claghorn]: "It's a joke, son! Joke, that is. Pay attention son! (Kid's about as smart as a bag full o'wet mice)." The idea at the time was that Tcl was being pitched as "Enterprise Ready." ---- [DG]: Beauregard? Your quote rang out more like Foghorn Leghorn[http://en.wikipedia.org/wiki/Foghorn_Leghorn] to me ;) "A chicken hawk, eh? Over there's your chicken." [http://www.foar.net/mt/mt-archives/chickenhawk-thumb.jpg] ---- ''[escargo] 19 Sep 2005'' - I added Wikipedia[http://en.wikipedia.org/wiki/Main_Page] links to Claghorn and Foghorn above. The Wikipedia entries mentioned the irony of Foghorn remaining known, and Claghorn (the original being spoofed) becoming lost in the mists of time. It's probably not the only case in cartoon history. ---- [Category Internals]